class Template (View source)

Properties

$pTemplateID
$pTemplateHandle
$pTemplateIcon
$pTemplateName
$pTemplateIsInternal
$pkgID

Methods

export($node)

No description

getPageTemplateID()

No description

getPageTemplateName()

No description

getPageTemplateHandle()

No description

isPageTemplateInternal()

No description

getPageTemplateIcon()

No description

getPackageID()

No description

getPackageHandle()

No description

string
getPageTemplateDisplayName(string $format = 'html')

Returns the display name for this page template (localized and escaped accordingly to $format)

delete()

No description

update($pTemplateHandle, $pTemplateName, $pTemplateIcon = FILENAME_PAGE_TEMPLATE_DEFAULT_ICON)

No description

getPageTemplateIconImage()

No description

Details

export($node)

Parameters

$node

getPageTemplateID()

getPageTemplateName()

getPageTemplateHandle()

isPageTemplateInternal()

getPageTemplateIcon()

getPackageID()

getPackageHandle()

string getPageTemplateDisplayName(string $format = 'html')

Returns the display name for this page template (localized and escaped accordingly to $format)

Parameters

string $format = 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display name won't be escaped.

Return Value

string

delete()

update($pTemplateHandle, $pTemplateName, $pTemplateIcon = FILENAME_PAGE_TEMPLATE_DEFAULT_ICON)

Parameters

$pTemplateHandle
$pTemplateName
$pTemplateIcon

getPageTemplateIconImage()