local/modules/Klikandpay/Model/Base/KlikandpayReturnQuery.php
/**
     * Filter the query by a related \Klikandpay\Model\Thelia\Model\Order object
     *
     * @param \Klikandpay\Model\Thelia\Model\Order|ObjectCollection $order The related object(s) to use as filter
     * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
     *
     * @return ChildKlikandpayReturnQuery The current query, for fluid interface
     */


@return ChildKlikandpayReturnQuery The current query, for fluid interface
@return ChildKlikandpayReturnQuery The current query for fluid interface
public function filterByOrder($order, $comparison = null)
    {
        if ($order instanceof \Klikandpay\Model\Thelia\Model\Order) {
            return $this
                ->addUsingAlias(KlikandpayReturnTableMap::ORDER_ID, $order->getId(), $comparison);
        } elseif ($order instanceof ObjectCollection) {
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
            return $this
                ->addUsingAlias(KlikandpayReturnTableMap::ORDER_ID, $order->toKeyValue('PrimaryKey', 'Id'), $comparison);
        } else {
            throw new PropelException('filterByOrder() only accepts arguments of type \Klikandpay\Model\Thelia\Model\Order or Collection');
        }
    }
public function filterByOrder ( $ order , $ comparison = null ) { if ( $ order instanceof \ Klikandpay \ Model \ Thelia \ Model \ Order ) { return $ this -> addUsingAlias ( KlikandpayReturnTableMap :: ORDER_ID , $ order -> getId ( ) , $ comparison ) ; } elseif ( $ order instanceof ObjectCollection ) { if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } return $ this -> addUsingAlias ( KlikandpayReturnTableMap :: ORDER_ID , $ order -> toKeyValue ( 'PrimaryKey' , 'Id' ) , $ comparison ) ; } else { throw new PropelException ( 'filterByOrder() only accepts arguments of type \Klikandpay\Model\Thelia\Model\Order or Collection' ) ; } }
Filter the query by a related \Klikandpay\Model\Thelia\Model\Order object
 @param \Klikandpay\Model\Thelia\Model\Order|ObjectCollection $order The related object(s) to use as filter
 @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
Filter the query by a related \ Klikandpay \ Model \ Thelia \ Model \ Order object @param \ Klikandpay \ Model \ Thelia \ Model \ Order|ObjectCollection $order The related object ( s ) to use as filter @param string $comparison Operator to use for the column comparison defaults to Criteria :: EQUAL