* Application.php, Registry.php: Return registry key of database for easier use of setDefaultDatabase()
/trunk/Registry.php |
---|
18,10 → 18,12 |
* |
* @param string $key |
* @param mixed $value |
* @return mixed The stored value |
*/ |
public static function set($key, $value) |
{ |
self::$_data[$key] = $value; |
return self::get($key); |
} |
/** |