Function Module_cms_cns_groups->get_form_fields
Definitions
cms/pages/modules/cms_cns_groups.php
- Get Tempcode for a adding/editing form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$id | ?GROUP | Null | N/A | N/A | The usergroup being edited (null: adding, not editing, and let's choose the current member) |
$name | SHORT_TEXT | Blank (empty string) | N/A | N/A | The usergroup name |
$group_leader | ?ID_TEXT | Null | N/A | N/A | The username of the usergroup leader (null: none picked yet) |
$open_membership | BINARY | 1 | N/A | N/A | Whether members may join this usergroup without requiring any special permission |
Return
- A pair: The input fields, Hidden fields
- Type: array
- Set: N/A
- Range: N/A