library/QATools/QATools/HtmlElements/Element/Form.php
public function setValue(ITypifiedElement $typified_element, $value)
	{
		if ( $typified_element instanceof ISimpleSetter ) {
			$typified_element->setValue($value);

			return $this;
		}

		throw new FormException(
			'Element ' . (string)$typified_element . ' doesn\'t support value changing',
			FormException::TYPE_READONLY_FIELD
		);
	}
public function setValue(ITypifiedElement $typified_element, $value)
	{
		if ( $typified_element instanceof ISimpleSetter ) {
			$typified_element->setValue($value);

			return $this;
		}

		throw new FormException(
			'Element ' . (string)$typified_element . ' doesn\'t support value changing',
			FormException::TYPE_READONLY_FIELD
		);
	}
public function setValue ( ITypifiedElement $ typified_element , $ value ) { if ( $ typified_element instanceof ISimpleSetter ) { $ typified_element -> setValue ( $ value ) ; return $ this ; } throw new FormException ( 'Element ' . ( string ) $ typified_element . ' doesn\'t support value changing' , FormException :: TYPE_READONLY_FIELD ) ; }
Sets value to the form element.

@param ITypifiedElement $typified_element Element, to set a value for.
@param mixed            $value            Element value to set.

@return self
@throws FormException When element doesn't support value changing.
Sets value to the form element .