API16:JForm/getGroups
From Joomla! Documentation
Contents |
Description
Method to get a list of groups.
Syntax
getGroups($parent=null)
| Parameter Name | Default Value | Description |
|---|---|---|
| $parent | null |
Returns
array An array of groups.
Defined in
libraries/joomla/form/form.php
Importing
jimport( 'joomla.form.form' );
Source Body
public function getGroups($parent = null) { if($parent != null) { return isset($this->_fieldsets[$parent]['children']) ? $this->_fieldsets[$parent]['children'] : array(); } return array_keys($this->_groups); }
[Edit See Also] SeeAlso:JForm/getGroups
I can't find the getGroups function in Joomla 1.6.1 JForm source code. It seems not to exists.