class Template extends Object

internal  
 

Template.

Properties

protected array $params

Methods

__construct(array $params, Engine $engine, $name)

No description

getEngine()

No description

string
getName()

No description

initialize($templateId, $contentType)

Initializes block, global & local storage in template.

void
renderChildTemplate($name, array $params = array())

Renders template.

__call($name, $args)

Call a template run-time filter. Do not call directly.

setParameters(array $params)

Sets all parameters.

array
getParameters()

Returns array of all parameters.

__set($name, $value)

Sets a template parameter. Do not call directly.

__get($name)

Returns a template parameter. Do not call directly.

bool
__isset($name)

Determines whether parameter is defined. Do not call directly.

__unset($name)

Removes a template parameter. Do not call directly.

Details

at line 29
__construct(array $params, Engine $engine, $name)

No description

Parameters

array $params
Engine $engine
$name

at line 40
Engine getEngine()

No description

Return Value

Engine

at line 49
string getName()

No description

Return Value

string

at line 60
initialize($templateId, $contentType)

internal  
 

Initializes block, global & local storage in template.

Parameters

$templateId
$contentType

at line 90
void renderChildTemplate($name, array $params = array())

internal  
 

Renders template.

Parameters

$name
array $params

Return Value

void

at line 103
__call($name, $args)

Call a template run-time filter. Do not call directly.

Parameters

$name
$args

at line 117
Template setParameters(array $params)

Sets all parameters.

Parameters

array $params

Return Value

Template

at line 129
array getParameters()

Returns array of all parameters.

Return Value

array

at line 139
__set($name, $value)

Sets a template parameter. Do not call directly.

Parameters

$name
$value

at line 149
__get($name)

Returns a template parameter. Do not call directly.

Parameters

$name

at line 162
bool __isset($name)

Determines whether parameter is defined. Do not call directly.

Parameters

$name

Return Value

bool

at line 173
__unset($name)

Removes a template parameter. Do not call directly.

Parameters

$name