public function ModelBase() { parent::mysqlmodel(); $this->provider->debug = FALSE; $this->provider->properties = $GLOBALS['AppConfig']['db']; }