コード例 #1
0
ファイル: admin.php プロジェクト: httvncoder/151722441
 public function __construct()
 {
     parent::__construct();
     $this->themes = '';
     $this->ptx_settings = spClass('ptx_settings');
     $this->setting_nav = $this->render("admin/setting_nav");
     $this->setting_header = $this->render("admin/setting_header");
     $this->ui_nav = $this->render("admin/ui_nav");
     $this->forum_nav = $this->render("admin/forum_nav");
 }
コード例 #2
0
ファイル: controller.php プロジェクト: x17x2a/ff
 function __construct($name, $opts = 0)
 {
     parent::__construct($name, $opts);
     global $server_dir, $web_dir;
     if (($opts & controller::NOTEMPLATE) == 0) {
         $this->template = new Template($name);
         $this->template->assign("dir", array('server' => $server_dir, 'web' => $web_dir, 'controller' => $server_dir . "/web/" . $name . "/template/"));
     }
     if (($opts & self::NOMODULE) == 0) {
         $path = $server_dir . "/web/" . $name . "/module.php";
         if (file_exists($path)) {
             $this->ownmodule = dispatcher::loadModule($name);
         }
         $this->module = new modulehelper();
     }
     #TODO: check if this is alright...
     #TODO: maybe think for a better name...
     $this->postData = new post($name);
 }
コード例 #3
0
ファイル: ajaxmessage.php プロジェクト: httvncoder/151722441
 public function __construct()
 {
     parent::__construct();
 }
コード例 #4
0
ファイル: pin.php プロジェクト: httvncoder/151722441
 public function __construct()
 {
     parent::__construct();
     $this->seo_title(T('pin'));
 }