english/libraries/joomla/form/form.php
/**
	 * Method to get an array of <field /> elements from the form XML document which are
	 * in a specified fieldset by name.
	 *
	 * @param   string  $name  The name of the fieldset.
	 *
	 * @return  mixed  Boolean false on error or array of JXMLElement objects.
	 *
	 * @since   11.1
	 */
Method to get an array of  elements from the form XML document which are
in a specified fieldset by name.

@param   string  $name  The name of the fieldset.

@return  mixed  Boolean false on error or array of JXMLElement objects.


Method to get an array of elements from the form XML document which are in a specified fieldset by name . @param string $name The name of the fieldset . @return mixed Boolean false on error or array of JXMLElement objects .
protected function & findFieldsByFieldset($name)
	{
		$false = false;
		if (!($this->xml instanceof JXMLElement)) {
			return $false;
		}
		$fields = $this->xml->xpath('//fieldset[@name="'.$name.'"]//field | //field[@fieldset="'.$name.'"]');
		return $fields;
	}
protected function & findFieldsByFieldset ( $ name ) { $ false = false ; if ( ! ( $ this -> xml instanceof JXMLElement ) ) { return $ false ; } $ fields = $ this -> xml -> xpath ( '//fieldset[@name="' . $ name . '"]//field | //field[@fieldset="' . $ name . '"]' ) ; return $ fields ; }
Method to get an array of <field /> elements from the form XML document which are
 in a specified fieldset by name.
Method to get an array of <field / > elements from the form XML document which are in a specified fieldset by name .
// Initialise variables. // Make sure there is a valid JForm XML document. /*
		 * Get an array of <field /> elements that are underneath a <fieldset /> element
		 * with the appropriate name attribute, and also any <field /> elements with
		 * the appropriate fieldset attribute.
		 */