Subversion Repositories PHPX

Compare Revisions

Last modification

Regard whitespace Rev 44 → Rev 45

/trunk/Application.php
176,15 → 176,18
*
* @param string $key
* @param Database $database
* @return string Registry key
* @see Application::setDefaultDatabase()
*/
public function registerDatabase($key, Database $database)
{
Registry::set($key, $database);
return $key;
}
 
/**
* Sets the default database
* @param key Registry key to refer to the {@link Database}
* @param string Registry key to refer to the {@link Database}
*/
public function setDefaultDatabase($key)
{