public function setValues(array $values = array())
    {
        foreach ($values as $k => $v) {
            $this->set($k, $v);
        }

        return $this;
    }
public function setValues(array $values = array())
    {
        foreach ($values as $k => $v) {
            $this->set($k, $v);
        }

        return $this;
    }
public function setValues ( array $ values = array ( ) ) { foreach ( $ values as $ k => $ v ) { $ this -> set ( $ k , $ v ) ; } return $ this ; }
Set an array of values. Setter methods will be called if they
exist.

@param array $values The array of values to set
Set an array of values . Setter methods will be called if they exist .