C# 클래스 Rock.Model.LayoutService

The data access/service class for the Rock.Model.Site entity. This inherits from the Service class
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
GetBySiteId ( int siteId ) : IQueryable

Gets the Layout by site id.

GetGuid ( int id ) : Guid?

Gets the Guid for the Layout that has the specified Id

RegisterLayouts ( string physWebAppPath, SiteCache site ) : void

Registers any layouts in a particular site's theme folder that do not currently have any layouts registered in Rock.

메소드 상세

GetBySiteId() 공개 메소드

Gets the Layout by site id.
public GetBySiteId ( int siteId ) : IQueryable
siteId int The site id.
리턴 IQueryable

GetGuid() 공개 메소드

Gets the Guid for the Layout that has the specified Id
public GetGuid ( int id ) : Guid?
id int The identifier.
리턴 Guid?

RegisterLayouts() 공개 정적인 메소드

Registers any layouts in a particular site's theme folder that do not currently have any layouts registered in Rock.
public static RegisterLayouts ( string physWebAppPath, SiteCache site ) : void
physWebAppPath string A containing the physical path to Rock on the server.
site SiteCache The site.
리턴 void