Exemplo n.º 1
0
 protected function loadDb()
 {
     MySqlDbManager::createInstance($this->config->AuxConfig->host, $this->config->AuxConfig->user, $this->config->AuxConfig->password, $this->config->AuxConfig->name, $this->config->AuxConfig->isPersistent);
     $this->db = MySqlDbManager::getDbObject();
     $this->db->setConnectionEncoding($this->config->AuxConfig->encoding);
     $this->register($this->db);
 }