samples/PhotoAlbum/lib/rb.php
public static function selectDatabase($key) {
		if (self::$currentDB===$key) return false;
		self::configureFacadeWithToolbox(self::$toolboxes[$key]);
		self::$currentDB = $key;
		return true;
	}
public static function selectDatabase($key) {
		if (self::$currentDB===$key) return false;
		self::configureFacadeWithToolbox(self::$toolboxes[$key]);
		self::$currentDB = $key;
		return true;
	}
public static function selectDatabase ( $ key ) { if ( self :: $ currentDB === $ key ) return false ; self :: configureFacadeWithToolbox ( self :: $ toolboxes [ $ key ] ) ; self :: $ currentDB = $ key ; return true ; }
Selects a different database for the Facade to work with.

@param  string $key Key of the database to select
@return int 1
Selects a different database for the Facade to work with .