1
0
mirror of synced 2025-01-18 22:41:43 +03:00
This commit is contained in:
zYne 2007-04-02 16:54:46 +00:00
parent 4f505c6b16
commit b1a3eed4e9

View File

@ -290,11 +290,12 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
/**
* getConnectionName
*
* @return string the name of the connection
* @param Doctrine_Connection $conn connection object to be searched for
* @return string the name of the connection
*/
public function getConnectionName(Doctrine_Connection $conn)
{
return array_search($conn, $this->connections, true);
return array_search($conn, $this->connections, true);
}
/**
* bindComponent