C# Class Rock.Model.LayoutService

The data access/service class for the Rock.Model.Site entity. This inherits from the Service class
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

GetBySiteId() public méthode

Gets the Layout by site id.
public GetBySiteId ( int siteId ) : IQueryable
siteId int The site id.
Résultat IQueryable

GetGuid() public méthode

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

RegisterLayouts() public static méthode

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.
Résultat void