english/libraries/joomla/form/form.php
/**
	 * Method to remove a group from the form definition.
	 *
	 * @param   string  $group  The dot-separated form group path for the group to remove.
	 *
	 * @return  boolean  True on success.
	 *
	 * @since   11.1
	 */
Method to remove a group from the form definition.
@param   string  $group  The dot-separated form group path for the group to remove.

@return  boolean  True on success.


Method to remove a group from the form definition . @param string $group The dot - separated form group path for the group to remove . @return boolean True on success .
public function removeGroup($group)
	{
		if (!($this->xml instanceof JXMLElement)) {
			return false;
		}
		$elements = & $this->findGroup($group);
		foreach ($elements as & $element)
		{
			$dom = dom_import_simplexml($element);
			$dom->parentNode->removeChild($dom);
		}
		return true;
	}
public function removeGroup ( $ group ) { if ( ! ( $ this -> xml instanceof JXMLElement ) ) { return false ; } $ elements = & $ this -> findGroup ( $ group ) ; foreach ( $ elements as & $ element ) { $ dom = dom_import_simplexml ( $ element ) ; $ dom -> parentNode -> removeChild ( $ dom ) ; } return true ; }
Method to remove a group from the form definition.
Method to remove a group from the form definition .
// Make sure there is a valid JForm XML document. // TODO: throw exception. // Get the fields elements for a given group.