library/QATools/QATools/HtmlElements/Element/Select.php
public function setValue($value)
	{
		if ( is_array($value) ) {
			return $this->setSelected($value);
		}

		return $this->selectByValue((string)$value);
	}
public function setValue($value)
	{
		if ( is_array($value) ) {
			return $this->setSelected($value);
		}

		return $this->selectByValue((string)$value);
	}
public function setValue ( $ value ) { if ( is_array ( $ value ) ) { return $ this -> setSelected ( $ value ) ; } return $ this -> selectByValue ( ( string ) $ value ) ; }
Sets value to the element.

@param mixed $value New value.

@return self
Sets value to the element .