public function Form::has in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Form.php \Symfony\Component\DomCrawler\Form::has()
Returns true if the named field exists.
Parameters
string $name The field name:
Return value
bool true if the field exists, false otherwise
2 calls to Form::has()
- Form::addField in vendor/
symfony/ dom-crawler/ Form.php - Form::offsetExists in vendor/
symfony/ dom-crawler/ Form.php - Returns true if the named field exists.
File
- vendor/
symfony/ dom-crawler/ Form.php, line 236
Class
- Form
- Form represents an HTML form.
Namespace
Symfony\Component\DomCrawlerCode
public function has($name) {
return $this->fields
->has($name);
}