diff --git a/lib/Doctrine/Connection/Informix.php b/lib/Doctrine/Connection/Informix.php index 0ec36fd6f..4266920e9 100644 --- a/lib/Doctrine/Connection/Informix.php +++ b/lib/Doctrine/Connection/Informix.php @@ -31,4 +31,15 @@ class Doctrine_Connection_Informix extends Doctrine_Connection { * @var string $driverName the name of this connection driver */ protected $driverName = 'Informix'; + /** + * the constructor + * + * @param Doctrine_Manager $manager + * @param PDO $pdo database handle + */ + public function __construct(Doctrine_Manager $manager, PDO $pdo) { + // initialize all driver options + + parent::__construct($manager, $pdo); + } } diff --git a/lib/Doctrine/Connection/Mssql.php b/lib/Doctrine/Connection/Mssql.php index f36d4b45e..070805113 100644 --- a/lib/Doctrine/Connection/Mssql.php +++ b/lib/Doctrine/Connection/Mssql.php @@ -30,11 +30,23 @@ class Doctrine_Connection_Mssql extends Doctrine_Connection { /** * @var string $driverName the name of this connection driver */ - protected $driverName = 'Mssql'; + protected $driverName = 'Mssql'; + /** + * the constructor + * + * @param Doctrine_Manager $manager + * @param PDO $pdo database handle + */ + public function __construct(Doctrine_Manager $manager, PDO $pdo) { + // initialize all driver options + + parent::__construct($manager, $pdo); + } /** * returns the next value in the given sequence - * @param string $sequence - * @return integer + * + * @param string $sequence name of the sequence + * @return integer the next value in the given sequence */ public function getNextID($sequence) { $this->query("INSERT INTO $sequence (vapor) VALUES (0)"); diff --git a/lib/Doctrine/Connection/Pgsql.php b/lib/Doctrine/Connection/Pgsql.php index d7332d47e..62ae4987a 100644 --- a/lib/Doctrine/Connection/Pgsql.php +++ b/lib/Doctrine/Connection/Pgsql.php @@ -31,6 +31,17 @@ class Doctrine_Connection_Pgsql extends Doctrine_Connection_Common { * @var string $driverName the name of this connection driver */ protected $driverName = 'Pgsql'; + /** + * the constructor + * + * @param Doctrine_Manager $manager + * @param PDO $pdo database handle + */ + public function __construct(Doctrine_Manager $manager, PDO $pdo) { + // initialize all driver options + + parent::__construct($manager, $pdo); + } /** * returns the next value in the given sequence * @param string $sequence