function __construct() { global $sae_config; self::$charset = $sae_config['db_charset']; $this->connect(); parent::__construct(); }
public function __construct($_accessKey = '', $_secretKey = '') { global $sae_config; $this->domainDir = $sae_config['storage_dir']; $this->url = $sae_config['storage_url']; parent::__construct(); }
public function __construct() { $this->errmsg = Imit_L("_SAE_OK_"); static $inited = false; //只初始化一次 if ($inited) { return; } if (extension_loaded('sqlite3')) { self::$db = new ImitSqlite(); } else { self::$db = get_class($this) == "SaeMysql" ? $this : new SaeMysql(); $this->createTable(); } $inited = true; }
public function __construct() { parent::__construct(); }
public function __construct($img_data = '') { parent::__construct(); return $this->setData($img_data); }