Esempio n. 1
0
 public function loadTmplVar($varname, $path)
 {
     $analyzer = new Analyzer();
     $analyzer->analyzeFile($path);
     $elementList = $analyzer->getElementList();
     $this->_subtmplList = array_merge($this->_subtmplList, $analyzer->getSubTmplList());
     $this->_varList[$varname] = $elementList;
     $this->_varListType[$varname] = 'ELEMENTLIST';
 }