class Template implements JsonSerializable (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($class = null)

No description

jsonSerialize()

No description

Details

export($node)

No description

Parameters

$node

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)

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()

No description

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

No description

Parameters

$pTemplateHandle
$pTemplateName
$pTemplateIcon

getPageTemplateIconImage($class = null)

No description

Parameters

$class

jsonSerialize()

No description