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

View File

@ -287,6 +287,15 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
return $this;
}
/**
* getConnectionName
*
* @return string the name of the connection
*/
public function getConnectionName(Doctrine_Connection $conn)
{
return array_search($conn, $this->connections, true);
}
/**
* bindComponent
* binds given component to given connection