library/QATools/QATools/HtmlElements/Element/Select.php
public function getSelectedOptions()
	{
		$ret = array();

		foreach ( $this->getOptions() as $option ) {
			if ( $option->isSelected() ) {
				$ret[] = $option;
			}
		}

		return $ret;
	}
public function getSelectedOptions()
	{
		$ret = array();

		foreach ( $this->getOptions() as $option ) {
			if ( $option->isSelected() ) {
				$ret[] = $option;
			}
		}

		return $ret;
	}
public function getSelectedOptions ( ) { $ ret = array ( ) ; foreach ( $ this -> getOptions ( ) as $ option ) { if ( $ option -> isSelected ( ) ) { $ ret [ ] = $ option ; } } return $ ret ; }
Returns all selected options belonging to this select tag.

@return SelectOption[]
Returns all selected options belonging to this select tag .