1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 06:07:39 +02:00

added dibi::setConnection()

This commit is contained in:
David Grudl
2010-08-31 22:39:57 +02:00
parent b1156e54d8
commit 6d94afdddd

View File

@@ -255,6 +255,18 @@ class dibi
/**
* Sets connection.
* @param DibiConnection
* @return DibiConnection
*/
public static function setConnection(DibiConnection $connection)
{
return self::$connection = $connection;
}
/** /**
* Change active connection. * Change active connection.
* @param string connection registy name * @param string connection registy name