_setupAdapter() protected static method

protected static _setupAdapter ( mixed $db ) : Zend_Db_Adapter_Abstract
$db mixed Either an Adapter object, or a string naming a Registry key
return Zend_Db_Adapter_Abstract
 /**
  * 
  * 
  * @static
  * @see Zend_Db_Table_Abstract::_setupAdapter()
  * @param  mixed $db Either an Adapter object, or a string naming a Registry key
  * @return Zend_Db_Adapter_Abstract
  * @throws Zend_Db_Table_Exception
  */
 protected static function _setupAdapter($db)
 {
     if (null != ($db = parent::_setupAdapter($db))) {
         self::pushInstanceTableAdapter($db);
     }
     return $db;
 }