コード例 #1
0
ファイル: file.class.php プロジェクト: reboxhost/phpb2b
 function __construct()
 {
     parent::__construct();
     $args = func_get_args();
     for ($i = 0, $n = count($args); $i < $n; $i++) {
         $this->add($args[$i]);
     }
 }
コード例 #2
0
ファイル: cache.class.php プロジェクト: reboxhost/phpb2b
 function __construct($cache_name = null)
 {
     //		if (!empty($this->lang_dirname)) {
     //			$this->cache_path = PHPB2B_ROOT."data".DS."cache".DS.$this->lang_dirname.DS;
     //		}else{
     $this->cache_path = CACHE_PATH;
     //		}
     if (!empty($cache_name)) {
         $this->cache_name = $cache_name;
     }
     parent::__construct();
     if (!is_dir($this->cache_path)) {
         mkdir($this->cache_path, 0777, true);
     }
 }
コード例 #3
0
 function __construct()
 {
     $this->overload();
     parent::__construct();
 }
コード例 #4
0
ファイル: file.class.php プロジェクト: vuong93st/w-game
 function Files()
 {
     parent::__construct();
 }
コード例 #5
0
ファイル: controller.php プロジェクト: reboxhost/phpb2b
 public function __construct()
 {
     parent::__construct();
 }