Database tables and API classes

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

The following database tables are used during portal engine development:

 

CMS_Layout - contains pre-defined page layouts and information about them
CMS_PageTemplate - contains page templates and their settings
CMS_PageTemplateCategory - contains page template categories and information about them
CMS_PageTemplateScope - contains page template scopes (used to limit where a page template can be used)
CMS_PageTemplateSite - assigns page templates to the sites where they can be used

 

The following CMS.PortalEngine namespace classes can be used to perform certain portal engine development tasks through the API:

 

PageTemplateInfo, PageTemplateInfoProvider - these classes provide functionality for managing page templates
PageTemplateCategoryInfo, PageTemplateCategoryInfoProvider - these classes provide functionality for managing page template categories
PageTemplateScopeInfo, PageTemplateScopeInfoProvider - these classes provide functionality for managing page template scopes

 

As well as the following CMS.SiteProvider namespace classes:

 

LayoutInfo, LayoutInfoProvider - these classes provide functionality for managing page layouts

 

The following topics show examples of how these classes can be used:

 

Page template examples:

 

Getting page template data
Managing page templates and their categories
Assigning and removing page templates from sites
Managing page template scopes

 

Page layout examples:

 

Getting page layout data
Managing page layouts

 

The API programming and Kentico CMS internals section of this guide contains more API related information, so please refer to it if required.

 

For detailed API documentation, such as a list of all methods from the classes above, please refer to Kentico CMS API Reference that is a part of your Kentico CMS installation and can be accessed through the programs folder in Windows Start menu.

 

Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?portal_engine_database_tables_and_api_classes.htm