org.zenmagick.mvc.view\ZMSavantCache
mvc\view\ZMSavantCache.php at line 32
Interface ZMSavantCache
ZMSavantCache
public interface ZMSavantCache
- 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.
Savant cache interface.
Implementations are free to cache individual Savant templates and their output.