public function setValues(array $values = array(), $ignore_unknown = false)
    {
        foreach ($values as $name => $value) {
            try {
                $this->getRow($name)->setValue($value);
            } catch (\InvalidArgumentException $e) {
                if (!$ignore_unknown) {
                    throw $e;
                }
            }
        }

        return $this;
    }
public function setValues(array $values = array(), $ignore_unknown = false)
    {
        foreach ($values as $name => $value) {
            try {
                $this->getRow($name)->setValue($value);
            } catch (\InvalidArgumentException $e) {
                if (!$ignore_unknown) {
                    throw $e;
                }
            }
        }

        return $this;
    }
public function setValues ( array $ values = array ( ) , $ ignore_unknown = false ) { foreach ( $ values as $ name => $ value ) { try { $ this -> getRow ( $ name ) -> setValue ( $ value ) ; } catch ( \ InvalidArgumentException $ e ) { if ( ! $ ignore_unknown ) { throw $ e ; } } } return $ this ; }
Set the value of multiple rows.

@param array $values         The array of values
@param bool  $ignore_unknown Whether to ignore any unknown form rows
Set the value of multiple rows .