interface ILoader

Template loader.

Methods

string
getContent($name)

Returns template source code.

bool
isExpired($name, $time)

Checks whether template is expired.

string
getReferredName($name, $referringName)

Returns referred template name.

string
getUniqueId($name)

Returns unique identifier for caching.

Details

at line 21
string getContent($name)

Returns template source code.

Parameters

$name

Return Value

string

at line 27
bool isExpired($name, $time)

Checks whether template is expired.

Parameters

$name
$time

Return Value

bool

at line 33
string getReferredName($name, $referringName)

Returns referred template name.

Parameters

$name
$referringName

Return Value

string

at line 39
string getUniqueId($name)

Returns unique identifier for caching.

Parameters

$name

Return Value

string