コード例 #1
0
 public function __construct($dataConnection = null)
 {
     $this->_isConsole = PHP_SAPI == 'cli';
     $this->dataConnection = $dataConnection;
     ini_set('session.name', $this->sessionName);
     $this->dateTimeZone = new DateTimeZone('Etc/GMT+0');
     parent::__construct();
 }
コード例 #2
0
 public function __construct($dataFrom = '', $dataFilter = '')
 {
     global $phpAnvil;
     parent::__construct();
     //        $this->enableLog();
     $this->dataConnection = $phpAnvil->db;
     $this->regional = $phpAnvil->regional;
     //        $this->dictionary     = $dictionary;
     $this->dataFrom = $dataFrom;
     //$this->_values['id'] = $id;
     $this->dataFilter = $dataFilter;
     //        $this->id = $id;
 }
コード例 #3
0
 public function __construct($enginePath, $cachePath, $themeRootPath, $theme, $properties = array())
 {
     //		$this->_traceEnabled = $traceEnabled;
     //		$this->addProperty('cachePath', '');
     //		$this->addProperty('engine', '');
     //		$this->addProperty('enginePath', '');
     //		$this->addProperty('theme', '');
     //		$this->addProperty('themeRootPath', '');
     $this->enginePath = $enginePath;
     $this->cachePath = $cachePath;
     $this->themeRootPath = $themeRootPath;
     $this->theme = $theme;
     $this->importProperties($properties);
     parent::__construct();
 }