src/Slashworks/AppBundle/Model/om/BaseRemoteAppQuery.php
protected function findPkComplex($key, $con)
    {
        // As the query uses a PK condition, no limit(1) is necessary.
        $criteria = $this->isKeepQuery() ? clone $this : $this;
        $stmt = $criteria
            ->filterByPrimaryKey($key)
            ->doSelect($con);

        return $criteria->getFormatter()->init($criteria)->formatOne($stmt);
    }
protected function findPkComplex($key, $con)
    {
        // As the query uses a PK condition, no limit(1) is necessary.
        $criteria = $this->isKeepQuery() ? clone $this : $this;
        $stmt = $criteria
            ->filterByPrimaryKey($key)
            ->doSelect($con);

        return $criteria->getFormatter()->init($criteria)->formatOne($stmt);
    }
protected function findPkComplex ( $ key , $ con ) { // As the query uses a PK condition, no limit(1) is necessary. $ criteria = $ this -> isKeepQuery ( ) ? clone $ this : $ this ; $ stmt = $ criteria -> filterByPrimaryKey ( $ key ) -> doSelect ( $ con ) ; return $ criteria -> getFormatter ( ) -> init ( $ criteria ) -> formatOne ( $ stmt ) ; }
Find object by primary key.

@param     mixed $key Primary key to use for the query
@param     PropelPDO $con A connection object

@return RemoteApp|RemoteApp[]|mixed the result, formatted by the current formatter
Find object by primary key .