示例#1
0
文件: classes.php 项目: joegeck/cerb4
 function __construct($manifest)
 {
     parent::__construct($manifest);
     // Internal Routing
     // [TODO] Cache the code to extension lookup -- silly to go to DB every time for this
     $this->tools = DAO_CommunityTool::getList();
     foreach ($this->tools as $idx => $tool) {
         $this->hash[$tool->code] =& $this->tools[$idx];
     }
 }
示例#2
0
文件: cron.php 项目: rmiddle/cerb4
 function __construct($manifest)
 {
     parent::__construct($manifest);
 }
示例#3
0
 function __construct($manifest)
 {
     $this->_TPL_PATH = dirname(dirname(dirname(__FILE__))) . '/templates/';
     parent::__construct($manifest);
 }
示例#4
0
文件: App.php 项目: rmiddle/cerb4
 function __construct($manifest)
 {
     $this->_CORE_TPL_PATH = DEVBLOCKS_PLUGIN_PATH . 'cerberusweb.core/templates/';
     $this->_TPL_PATH = dirname(dirname(__FILE__)) . '/templates/';
     parent::__construct($manifest);
 }
示例#5
0
文件: App.php 项目: Hildy/cerb5
 function __construct($manifest)
 {
     parent::__construct($manifest);
     $this->plugin_path = dirname(dirname(__FILE__)) . '/';
 }
示例#6
0
文件: App.php 项目: rmiddle/cerb4
 function __construct($manifest)
 {
     parent::__construct($manifest);
     $this->tpl_path = dirname(dirname(__FILE__)) . '/templates';
 }
示例#7
0
 function __construct($manifest)
 {
     parent::__construct($manifest);
     $router = DevblocksPlatform::getRoutingService();
     $router->addRoute('webapi', 'core.controller.rest');
 }
示例#8
0
文件: App.php 项目: Hildy/cerb5
 function __construct($manifest)
 {
     $this->_CORE_TPL_PATH = APP_PATH . '/features/cerberusweb.core/templates/';
     $this->_TPL_PATH = dirname(dirname(__FILE__)) . '/templates/';
     parent::__construct($manifest);
 }