示例#1
0
 /**
  * Sets the default JO_Db_Adapter_Abstract for all JO_Db_Table objects.
  *
  * @param  mixed $db Either an Adapter object, or a string naming a Registry key
  * @return void
  */
 public static function setDefaultAdapter($db = null)
 {
     self::$_defaultDb = self::_setupAdapter($db);
     return self::$_defaultDb;
 }