Exemplo n.º 1
0
 function getSubFolderList()
 {
     $folder = new Sys_Model_File_Folder();
     $result = $folder->fetchAll($folder->select()->where("is_active=1")->where("folder_parent_id=?", $this->id));
     return $result;
 }
Exemplo n.º 2
0
 function indexAction()
 {
     //$this->setLayout('test');
     $folder = new Sys_Model_File_Folder();
     $this->view->folders = $folder->fetchAll($folder->select()->where("is_active=1"));
 }