public function _if($cond)
    {
        $this->conditionalProxy = new PropelConditionalProxy($this, $cond, $this->conditionalProxy);

        return $this->conditionalProxy->getCriteriaOrProxy();
    }
public function _if($cond)
    {
        $this->conditionalProxy = new PropelConditionalProxy($this, $cond, $this->conditionalProxy);

        return $this->conditionalProxy->getCriteriaOrProxy();
    }
public function _if ( $ cond ) { $ this -> conditionalProxy = new PropelConditionalProxy ( $ this , $ cond , $ this -> conditionalProxy ) ; return $ this -> conditionalProxy -> getCriteriaOrProxy ( ) ; }
Returns the current object if the condition is true,
or a PropelConditionalProxy instance otherwise.
Allows for conditional statements in a fluid interface.

@param boolean $cond

@return PropelConditionalProxy|$this|Criteria
Returns the current object if the condition is true or a PropelConditionalProxy instance otherwise . Allows for conditional statements in a fluid interface .