library/QATools/QATools/HtmlElements/Element/Select.php
public function getOptionsByValue($value)
	{
		$xpath = 'descendant-or-self::option[@value = ' . $this->getXpathEscaper()->escapeLiteral($value) . ']';

		return $this->wrapOptions($this->getWrappedElement()->findAll('xpath', $xpath));
	}
public function getOptionsByValue($value)
	{
		$xpath = 'descendant-or-self::option[@value = ' . $this->getXpathEscaper()->escapeLiteral($value) . ']';

		return $this->wrapOptions($this->getWrappedElement()->findAll('xpath', $xpath));
	}
public function getOptionsByValue ( $ value ) { $ xpath = 'descendant-or-self::option[@value = ' . $ this -> getXpathEscaper ( ) -> escapeLiteral ( $ value ) . ']' ; return $ this -> wrapOptions ( $ this -> getWrappedElement ( ) -> findAll ( 'xpath' , $ xpath ) ) ; }
Returns all options having given value.

@param mixed $value Value of option to selected.

@return SelectOption[]
Returns all options having given value .