Class Template

Namespace: Concrete\Core\Page
Entity
Table(name="pagetemplates")
Located at src/Page/Template.php

Methods summary

public static
# exportList( $xml )
public
# export( $node )
public
public
public
public
public
public
public
public string
# getPageTemplateDisplayName( string $format = 'html' )

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

public static
# getByHandle( $pTemplateHandle )
public static
# getByID( $pTemplateID )
public
# delete( )
protected static
# sort( $list )
public static
public static
# getList( $includeInternal = false )
public static
# add( $pTemplateHandle, $pTemplateName, $pTemplateIcon = FILENAME_PAGE_TEMPLATE_DEFAULT_ICON, $pkg = null, $pTemplateIsInternal = false )
public
# update( $pTemplateHandle, $pTemplateName, $pTemplateIcon = FILENAME_PAGE_TEMPLATE_DEFAULT_ICON )
public
# getIcons( )
public

Properties summary

protected $pTemplateID
#
protected $pTemplateHandle
#
protected $pTemplateIcon
# FILENAME_PAGE_TEMPLATE_DEFAULT_ICON
protected $pTemplateName
#
protected boolean $pTemplateIsInternal
# false
protected integer $pkgID
# 0