You are here

public function Form::offsetExists in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dom-crawler/Form.php \Symfony\Component\DomCrawler\Form::offsetExists()

Returns true if the named field exists.

Parameters

string $name The field name:

Return value

bool true if the field exists, false otherwise

File

vendor/symfony/dom-crawler/Form.php, line 294

Class

Form
Form represents an HTML form.

Namespace

Symfony\Component\DomCrawler

Code

public function offsetExists($name) {
  return $this
    ->has($name);
}