library/Extlib/Validate/Doctrine/DoctrineAbstract.php
public function getConnection()
    {
        if (null === $this->connection) {
            $this->setConnection(\Doctrine_Manager::getInstance()->getCurrentConnection());
        }

        return $this->connection;
    }
public function getConnection()
    {
        if (null === $this->connection) {
            $this->setConnection(\Doctrine_Manager::getInstance()->getCurrentConnection());
        }

        return $this->connection;
    }
public function getConnection ( ) { if ( null === $ this -> connection ) { $ this -> setConnection ( \ Doctrine_Manager :: getInstance ( ) -> getCurrentConnection ( ) ) ; } return $ this -> connection ; }
Get doctrine connection

@return \Doctrine_Connection
Get doctrine connection