public function newValues($nameParams, $val)
    {
        // store value buffer data
        if (count($this->_lastInsertValues) > 0) {
            $this->_insertValues[] = $this->_lastInsertValues;
        }

        // set new value in insert buffer
        $this->_lastInsertValues = array($nameParams => $val);

        return $this;
    }
public function newValues($nameParams, $val)
    {
        // store value buffer data
        if (count($this->_lastInsertValues) > 0) {
            $this->_insertValues[] = $this->_lastInsertValues;
        }

        // set new value in insert buffer
        $this->_lastInsertValues = array($nameParams => $val);

        return $this;
    }
public function newValues ( $ nameParams , $ val ) { // store value buffer data if ( count ( $ this -> _lastInsertValues ) > 0 ) { $ this -> _insertValues [ ] = $ this -> _lastInsertValues ; } // set new value in insert buffer $ this -> _lastInsertValues = array ( $ nameParams => $ val ) ; return $ this ; }
Create new values set for multiple insert query

@param $nameParams - field name
@param $val        - field value

@return $this
Create new values set for multiple insert query