/**
  * 
  * @return string html
  */
 public function render()
 {
     if ($this->_enviroment->getDatabase() == "simulacion") {
         return $this->_ci->load->view("pages/layout/simulacion", array());
     } else {
         return "";
     }
 }
 public function getDb()
 {
     if ($this->_bo_simulacion) {
         $this->_enviroment = new Enviroment();
         return $this->load->database($this->_enviroment->getDatabase(), true);
     } else {
         return $this->load->database(ENVIRONMENT, true);
     }
 }