public function Form::setValues in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Form.php \Symfony\Component\DomCrawler\Form::setValues()
Sets the value of the fields.
Parameters
array $values An array of field values:
Return value
File
- vendor/
symfony/ dom-crawler/ Form.php, line 74
Class
- Form
- Form represents an HTML form.
Namespace
Symfony\Component\DomCrawlerCode
public function setValues(array $values) {
foreach ($values as $name => $value) {
$this->fields
->set($name, $value);
}
return $this;
}