public function find($con = null)
    {
        if ($con === null) {
            $con = Propel::getConnection($this->getDbName(), Propel::CONNECTION_READ);
        }
        $this->basePreSelect($con);
        $criteria = $this->isKeepQuery() ? clone $this : $this;
        $stmt = $criteria->doSelect($con);

        return $criteria->getFormatter()->init($criteria)->format($stmt);
    }
public function find($con = null)
    {
        if ($con === null) {
            $con = Propel::getConnection($this->getDbName(), Propel::CONNECTION_READ);
        }
        $this->basePreSelect($con);
        $criteria = $this->isKeepQuery() ? clone $this : $this;
        $stmt = $criteria->doSelect($con);

        return $criteria->getFormatter()->init($criteria)->format($stmt);
    }
public function find ( $ con = null ) { if ( $ con === null ) { $ con = Propel :: getConnection ( $ this -> getDbName ( ) , Propel :: CONNECTION_READ ) ; } $ this -> basePreSelect ( $ con ) ; $ criteria = $ this -> isKeepQuery ( ) ? clone $ this : $ this ; $ stmt = $ criteria -> doSelect ( $ con ) ; return $ criteria -> getFormatter ( ) -> init ( $ criteria ) -> format ( $ stmt ) ; }
Issue a SELECT query based on the current ModelCriteria
and format the list of results with the current formatter
By default, returns an array of model objects

@param PropelPDO $con an optional connection object

@return PropelObjectCollection|array|mixed the list of results, formatted by the current formatter
Issue a SELECT query based on the current ModelCriteria and format the list of results with the current formatter By default returns an array of model objects