Property | Type | Description | |
---|---|---|---|
$arrBlockNames | array | Block names | |
$arrBlocks | array | Blocks | |
$strDefault | string | Default template | |
$strFormat | string | Output format | |
$strParent | string | Parent template | |
$strTagEnding | string | Tag ending | |
$strTemplate | string | Template file |
Method | Description | |
---|---|---|
block ( string $name ) | Start a new block | |
endblock ( ) | End a block | |
extend ( string $name ) | Extend another template | |
inherit ( ) : string | Parse the template file and return it as string | |
insert ( string $name, array $data = null ) | Insert a template | |
parent ( ) | Insert the content of the parent block |
Method | Description | |
---|---|---|
getTemplatePath ( string $strTemplate, string $strFormat = 'html5', boolean $blnDefault = false ) : string | Find a particular template file and return its path |
protected getTemplatePath ( string $strTemplate, string $strFormat = 'html5', boolean $blnDefault = false ) : string | ||
$strTemplate | string | The name of the template |
$strFormat | string | The file extension |
$blnDefault | boolean | If true, the default template path is returned |
return | string | The path to the template file |