Template (Component)

The Template object lets you obtain information on pages that are derived from it. You can also make a template available for public use.

Methods marked below with [L] may be logged at the site level (if transaction logging is licensed and enabled by the administrator)

Customization is not supported for this component.

Methods:

getChildren Returns zero or more structures, each containing information about pages that are derived from a template. Structure members include the template's description, file name, title, as well as information on the template's children.
getChildrenCount Returns the number of pages or templates that are derived from a template.
getVisibleTemplateCategories Returns zero or more structures, each containing information about an active template category, such as its name, description, etc.
makePrivate [L] Makes a template private so that you and others cannot see it in the Template Gallery.
makePublic [L] Makes a template available for public use, so that people with appropriate permissions can see it in the Template Gallery.