interface Loader

Template loader.

Methods

string
getContent(string $name)

Returns template source code.

bool
isExpired(string $name, int $time) deprecated

Checks whether template is expired.

string
getReferredName(string $name, string $referringName)

Returns referred template name.

string
getUniqueId(string $name)

Returns unique identifier for caching.

Details

at line 21
string getContent(string $name)

Returns template source code.

Parameters

string $name

Return Value

string

at line 27
bool isExpired(string $name, int $time) deprecated

deprecated

Checks whether template is expired.

Parameters

string $name
int $time

Return Value

bool

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

Returns referred template name.

Parameters

string $name
string $referringName

Return Value

string

at line 37
string getUniqueId(string $name)

Returns unique identifier for caching.

Parameters

string $name

Return Value

string