This commit is contained in:
Pavel Belyaev
2022-01-30 22:25:52 +05:00
parent f3b1e5a9b6
commit 7becd72264
8 changed files with 37 additions and 6 deletions

View File

@@ -30,6 +30,12 @@ class LE_TPL {
return ob_get_clean();
}
public function fetch2mcont($t,&$vars=array(),$prefix=false,$cache_en=false)
{
$this->mod_cont .= $this->fetch($t,$vars,$prefix,$cache_en);
return $this;
}
public function path($tpl_path,$prefix=false)
{
if ($prefix===false) $prefix = $this->prefix;
@@ -71,6 +77,7 @@ class LE_TPL {
}
//static elements
public $need_st_list=[],$static_list=[],$static_dep=[],$top_st=[],$bottom_st=[];