mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-03 05:41:38 +08:00
模版引擎改进
This commit is contained in:
@@ -60,10 +60,14 @@ class TagLib {
|
||||
* @var object
|
||||
* @access protected
|
||||
*/
|
||||
public $tpl;
|
||||
protected $tpl;
|
||||
|
||||
protected $comparison = [' nheq '=>' !== ',' heq '=>' === ',' neq '=>' != ',' eq '=>' == ',' egt '=>' >= ',' gt '=>' > ',' elt '=>' <= ',' lt '=>' < '];
|
||||
|
||||
public function __construct($template){
|
||||
$this->tpl = $template;
|
||||
}
|
||||
|
||||
/**
|
||||
* TagLib标签属性分析 返回标签属性数组
|
||||
* @access public
|
||||
|
||||
Reference in New Issue
Block a user