public function ChoiceFormField::availableOptionValues in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dom-crawler/Field/ChoiceFormField.php \Symfony\Component\DomCrawler\Field\ChoiceFormField::availableOptionValues()
Returns list of available field options.
Return value
array
1 call to ChoiceFormField::availableOptionValues()
- ChoiceFormField::setValue in vendor/
symfony/ dom-crawler/ Field/ ChoiceFormField.php - Sets the value of the field.
File
- vendor/
symfony/ dom-crawler/ Field/ ChoiceFormField.php, line 297
Class
- ChoiceFormField
- ChoiceFormField represents a choice form field.
Namespace
Symfony\Component\DomCrawler\FieldCode
public function availableOptionValues() {
$values = array();
foreach ($this->options as $option) {
$values[] = $option['value'];
}
return $values;
}