src/Query/Condition/ConditionBase.php
public function getWhereClause(Builder $objBuilder, $blnProcessOnce = false)
    {
        if ($blnProcessOnce && $this->blnProcessed) {
            return null;
        }

        $this->blnProcessed = true;

        try {
            $objConditionBuilder = new PartialBuilder($objBuilder);
            $this->updateQueryBuilder($objConditionBuilder);
            return $objConditionBuilder->getWhereStatement();
        } catch (Caller $objExc) {
            $objExc->incrementOffset();
            $objExc->incrementOffset();
            throw $objExc;
        }
    }
public function getWhereClause(Builder $objBuilder, $blnProcessOnce = false)
    {
        if ($blnProcessOnce && $this->blnProcessed) {
            return null;
        }

        $this->blnProcessed = true;

        try {
            $objConditionBuilder = new PartialBuilder($objBuilder);
            $this->updateQueryBuilder($objConditionBuilder);
            return $objConditionBuilder->getWhereStatement();
        } catch (Caller $objExc) {
            $objExc->incrementOffset();
            $objExc->incrementOffset();
            throw $objExc;
        }
    }
public function getWhereClause ( Builder $ objBuilder , $ blnProcessOnce = false ) { if ( $ blnProcessOnce && $ this -> blnProcessed ) { return null ; } $ this -> blnProcessed = true ; try { $ objConditionBuilder = new PartialBuilder ( $ objBuilder ) ; $ this -> updateQueryBuilder ( $ objConditionBuilder ) ; return $ objConditionBuilder -> getWhereStatement ( ) ; } catch ( Caller $ objExc ) { $ objExc -> incrementOffset ( ) ; $ objExc -> incrementOffset ( ) ; throw $ objExc ; } }
Used internally by QCubed Query to get an individual where clause for a given condition
Mostly used for conditional joins.

@param Builder $objBuilder
@param bool|false $blnProcessOnce
@return null|string
@throws \Exception
@throws Caller
Used internally by QCubed Query to get an individual where clause for a given condition Mostly used for conditional joins .