src/wcmf/lib/model/ObjectQuery.php
public function getQueryCondition() {
    $query = $this->getQueryString();
    $tmp = preg_split("/ WHERE /i", $query);
    if (sizeof($tmp) > 1) {
      $tmp = preg_split("/ ORDER /i", $tmp[1]);
      return $tmp[0];
    }
    return '';
  }
public function getQueryCondition() {
    $query = $this->getQueryString();
    $tmp = preg_split("/ WHERE /i", $query);
    if (sizeof($tmp) > 1) {
      $tmp = preg_split("/ ORDER /i", $tmp[1]);
      return $tmp[0];
    }
    return '';
  }
public function getQueryCondition ( ) { $ query = $ this -> getQueryString ( ) ; $ tmp = preg_split ( "/ WHERE /i" , $ query ) ; if ( sizeof ( $ tmp ) > 1 ) { $ tmp = preg_split ( "/ ORDER /i" , $ tmp [ 1 ] ) ; return $ tmp [ 0 ] ; } return '' ; }
Get the condition part of the query. This is especially useful to
build a StringQuery from the query objects.
@return String
Get the condition part of the query . This is especially useful to build a StringQuery from the query objects .