/**
* Initialize database adapter.
*
* @return void
* @throws Zend_Db_Table_Exception
*/
protected function _setupDatabaseAdapter() { if (!
$this->_db
) { $this->_db = self::
getDefaultAdapter();
if (!
$this->_db instanceof Zend_Db_Adapter_Abstract
) { throw new Zend_Db_Table_Exception('No adapter found for ' .
get_class($this));
} } } /**
* Initialize table and schema names.
*
* If the table name is not set in the class definition,
* use the class name itself as the table name.
*
* A schema name provided with the table name (e.g., "schema.table") overrides
* any existing value for $this->_schema.
*
* @return void
*/