public function setFields($values)
    {
        foreach ($values as $field => $value) {
            $this->_setFieldValue($field, $value);
        }
    }
public function setFields($values)
    {
        foreach ($values as $field => $value) {
            $this->_setFieldValue($field, $value);
        }
    }
public function setFields ( $ values ) { foreach ( $ values as $ field => $ value ) { $ this -> _setFieldValue ( $ field , $ value ) ; } }
Change multiple fields in the model with an array.

@param array $values Field/values array to change multiple fields in this model.
@return void
Change multiple fields in the model with an array .