alar/template
Composer 安装命令:
composer require alar/template
包简介
A template engine compatible with perl::template
README 文档
README
alar/template template engine
What is this repository for?
- alar/template is a template engine compatible with PERL::HtmlTemplate
This project is mostly for internal use so documentation is still largely incomplete, but code should be not to hard to check.
How do I get set up?
Summary of set up
composer require alar/template
Usage
use alar\template\template;
$template=new template($options);
where $options is a hash with this possible keys
'paths'=>string or array path to search when template name is relative
'debug'=> boolean debug on/off
'debuglevel'=> PSR-3 log level
'novars' => boolean when true, variables name are printed instead of values
'nodict' => boolean, same as novars but for Dictionary variables,
'callback'=>dictionaryInterface an object to be used or dictionary access
'filename'=>string templatename,
'cachedir'=>string cacheDirectory,
'tmplroot'=string >base template dir,
统计信息
- 总下载量: 140
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-11