Example #1
0
 /**
  * Overrides parent function to catch any notices thrown and do nothing with them
  * Would like to figure out where they are coming from
  * @return boolean 
  */
 protected function _setupMetadata()
 {
     try {
         return parent::_setupMetadata();
     } catch (Exception $e) {
         // Unable to save metadata
         return false;
     }
 }
Example #2
0
 /**
  * sets the metadata (in this case the database name)
  *
  * @return void
  */
 protected function _setupMetadata()
 {
     $this->_schema = Zend_Registry::get('config')->resources->db->params->dbname;
     parent::_setupMetadata();
 }