public function getQuery($new = false)
    {
        if (!$this->query || $new) {
            $this->query = $this->db->getQuery(true);
        }

        return $this->query;
    }
public function getQuery($new = false)
    {
        if (!$this->query || $new) {
            $this->query = $this->db->getQuery(true);
        }

        return $this->query;
    }
public function getQuery ( $ new = false ) { if ( ! $ this -> query || $ new ) { $ this -> query = $ this -> db -> getQuery ( true ) ; } return $ this -> query ; }
Method to get property Query

@param bool $new

@return QueryInterface
Method to get property Query