src/Slashworks/AppBundle/Model/om/BaseRemoteAppQuery.php
public function filterByApiLog($apiLog, $comparison = null)
    {
        if ($apiLog instanceof ApiLog) {
            return $this
                ->addUsingAlias(RemoteAppPeer::ID, $apiLog->getRemoteAppId(), $comparison);
        } elseif ($apiLog instanceof PropelObjectCollection) {
            return $this
                ->useApiLogQuery()
                ->filterByPrimaryKeys($apiLog->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByApiLog() only accepts arguments of type ApiLog or PropelCollection');
        }
    }
public function filterByApiLog($apiLog, $comparison = null)
    {
        if ($apiLog instanceof ApiLog) {
            return $this
                ->addUsingAlias(RemoteAppPeer::ID, $apiLog->getRemoteAppId(), $comparison);
        } elseif ($apiLog instanceof PropelObjectCollection) {
            return $this
                ->useApiLogQuery()
                ->filterByPrimaryKeys($apiLog->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByApiLog() only accepts arguments of type ApiLog or PropelCollection');
        }
    }
public function filterByApiLog ( $ apiLog , $ comparison = null ) { if ( $ apiLog instanceof ApiLog ) { return $ this -> addUsingAlias ( RemoteAppPeer :: ID , $ apiLog -> getRemoteAppId ( ) , $ comparison ) ; } elseif ( $ apiLog instanceof PropelObjectCollection ) { return $ this -> useApiLogQuery ( ) -> filterByPrimaryKeys ( $ apiLog -> getPrimaryKeys ( ) ) -> endUse ( ) ; } else { throw new PropelException ( 'filterByApiLog() only accepts arguments of type ApiLog or PropelCollection' ) ; } }
Filter the query by a related ApiLog object

@param   ApiLog|PropelObjectCollection $apiLog  the related object to use as filter
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return                 RemoteAppQuery The current query, for fluid interface
@throws PropelException - if the provided filter is invalid.
Filter the query by a related ApiLog object