コード例 #1
0
 protected function _fetchData($order, $limit, $start)
 {
     $usedComponents = Kwc_Admin::getAvailableComponents('./Kwc');
     $ret = array();
     foreach ($usedComponents as $c) {
         $name = Kwf_Trl::getInstance()->trlStaticExecute(Kwc_Abstract::getSetting($c, 'componentName'));
         $path = str_replace('_', '/', $c);
         $ret[] = array('class' => $c, 'name' => $name, 'parentClass' => get_parent_class($c), 'hasTemplate' => file_exists($path . '.tpl'), 'hasCss' => file_exists($path . '.css'));
     }
     return $ret;
 }