library/QATools/QATools/HtmlElements/Element/Form.php
public function fill(array $form_data)
	{
		foreach ( $form_data as $field_name => $field_value ) {
			$form_element = $this->typify($this->getNodeElements($field_name));

			$this->setValue($form_element, $field_value);
		}

		return $this;
	}
public function fill(array $form_data)
	{
		foreach ( $form_data as $field_name => $field_value ) {
			$form_element = $this->typify($this->getNodeElements($field_name));

			$this->setValue($form_element, $field_value);
		}

		return $this;
	}
public function fill ( array $ form_data ) { foreach ( $ form_data as $ field_name => $ field_value ) { $ form_element = $ this -> typify ( $ this -> getNodeElements ( $ field_name ) ) ; $ this -> setValue ( $ form_element , $ field_value ) ; } return $ this ; }
Fills the form with given data.

@param array $form_data Associative array with keys matching field names.

@return self
Fills the form with given data .