lib/SBLib/Database/DBUtil.php
public function addQuery(DBUtilQuery $query) {
        if($query->getName() !== null) {
            $this->_queryQueue[$query->getName()] = $query;
        } else {
            $this->_queryQueue[] = $query;
        }

        new Logger('Query added to the queue.', Logger::DEBUG, __CLASS__, __LINE__);
        return $this;
    }
public function addQuery(DBUtilQuery $query) {
        if($query->getName() !== null) {
            $this->_queryQueue[$query->getName()] = $query;
        } else {
            $this->_queryQueue[] = $query;
        }

        new Logger('Query added to the queue.', Logger::DEBUG, __CLASS__, __LINE__);
        return $this;
    }
public function addQuery ( DBUtilQuery $ query ) { if ( $ query -> getName ( ) !== null ) { $ this -> _queryQueue [ $ query -> getName ( ) ] = $ query ; } else { $ this -> _queryQueue [ ] = $ query ; } new Logger ( 'Query added to the queue.' , Logger :: DEBUG , __CLASS__ , __LINE__ ) ; return $ this ; }
Adds a query with it's parameters to the query queue.

@param DBUtilQuery $query

@return $this
Adds a query with it s parameters to the query queue .