library/QATools/QATools/HtmlElements/Element/Form.php
public function getNodeElements($field_name)
	{
		$node_elements = $this->findAll(
			'named',
			array('field', $this->getXpathEscaper()->escapeLiteral($field_name))
		);

		if ( empty($node_elements) ) {
			throw new FormException(
				sprintf('Form field "%s" not found', $field_name),
				FormException::TYPE_NOT_FOUND
			);
		}

		return $node_elements;
	}
public function getNodeElements($field_name)
	{
		$node_elements = $this->findAll(
			'named',
			array('field', $this->getXpathEscaper()->escapeLiteral($field_name))
		);

		if ( empty($node_elements) ) {
			throw new FormException(
				sprintf('Form field "%s" not found', $field_name),
				FormException::TYPE_NOT_FOUND
			);
		}

		return $node_elements;
	}
public function getNodeElements ( $ field_name ) { $ node_elements = $ this -> findAll ( 'named' , array ( 'field' , $ this -> getXpathEscaper ( ) -> escapeLiteral ( $ field_name ) ) ) ; if ( empty ( $ node_elements ) ) { throw new FormException ( sprintf ( 'Form field "%s" not found' , $ field_name ) , FormException :: TYPE_NOT_FOUND ) ; } return $ node_elements ; }
Finds NodeElements by a given field name.

@param string $field_name Field name to search for.

@return NodeElement[]
@throws FormException When element for a field name not found.
Finds NodeElements by a given field name .