예제 #1
0
 public function getAllInfoTpls($ident)
 {
     if (!is_array($this->ALL_INFO_TEMPLATES_LISTS)) {
         $this->ALL_INFO_TEMPLATES_LISTS = array();
         $entity = $this->getFoldedEntity($ident, true);
         /* @var $tplDi DirItem */
         foreach ($this->getInfoDm($ident)->getDirContentFull(null, PsConst::EXT_TPL) as $tplDi) {
             $this->ALL_INFO_TEMPLATES_LISTS[] = FoldedInfoTpl::inst($entity, $tplDi);
         }
     }
     return $this->ALL_INFO_TEMPLATES_LISTS;
 }