ZenMagick 0.9.10


org.zenmagick.mvc.view\ZMSavantCache
mvc\view\ZMSavantCache.php at line 32

Interface ZMSavantCache

ZMSavantCache

public interface ZMSavantCache

Savant cache interface.

Implementations are free to cache individual Savant templates and their output.

Author:
DerManoMann

Method Summary
string

lookup(string tpl)

Get cached template.

void

save(string tpl, string contents)

Save template contents.

Method Detail

mvc\view\ZMSavantCache.php at line 40

lookup

public string lookup(string tpl)

Get cached template.

Parameters:
tpl - The template name.
Returns:
The cache contents or null.

mvc\view\ZMSavantCache.php at line 48

save

public void save(string tpl, string contents)

Save template contents.

Parameters:
tpl - The template name.
contents - The evaluated contents.

ZenMagick 0.9.10