interface ILoader

Template loader.

Methods

getContent($name)

Returns template source code.

isExpired($name, $time)

Checks whether template is expired.

getReferredName($name, $referringName)

Returns referred template name.

getUniqueId($name)

Returns unique identifier for caching.

Details

at line 22
getContent($name)

Returns template source code.

Parameters

$name

at line 27
isExpired($name, $time)

Checks whether template is expired.

Parameters

$name
$time

at line 32
getReferredName($name, $referringName)

Returns referred template name.

Parameters

$name
$referringName

at line 37
getUniqueId($name)

Returns unique identifier for caching.

Parameters

$name