Esempio n. 1
0
 public function settings()
 {
     include_once ROOT_PATH . 'lib/class/applant.class.php';
     $api = new applant();
     $template_info = $api->getTemplate(array('count' => -1));
     $this->addItem_withkey('template', $template_info);
     parent::settings();
 }
Esempio n. 2
0
 /**
  * 获取配置文件信息,再次可以做一些预处理
  *
  * @access public
  * @param  无
  * @return array
  */
 public function settings()
 {
     include_once ROOT_PATH . 'lib/class/applant.class.php';
     $api = new applant();
     /*
     $template_info = $api->getTemplate(array('count' => -1));
     $this->addItem_withkey('template', $template_info);
     */
     $ui_info = $api->getInterface(array('count' => -1));
     $this->addItem_withkey('interface', $ui_info);
     $body_tpl = $api->getBodyTpl();
     $this->addItem_withkey('body_tpl', $body_tpl);
     parent::settings();
 }