Function Module_admin_cns_groups->get_form_fields
Definitions
adminzone/pages/modules/admin_cns_groups.php
- Get Tempcode for adding/editing form.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $rank_image_pri_only | BINARY | No | No | 1 | N/A | N/A | Whether the rank image will not be shown for secondary membership |
| $open_membership | BINARY | No | No | 0 | N/A | N/A | Whether members may join this usergroup without requiring any special permission |
| $is_private_club | BINARY | No | No | 0 | N/A | N/A | Whether this usergroup is a private club. Private clubs may be managed in the CMS zone, and do not have any special permissions - except over their own associated forum. |
Returns
- A pair: The input fields, Hidden fields
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get Tempcode for adding/editing form.
*
* @param BINARY $rank_image_pri_only Whether the rank image will not be shown for secondary membership
* @param BINARY $open_membership Whether members may join this usergroup without requiring any special permission
* @param BINARY $is_private_club Whether this usergroup is a private club. Private clubs may be managed in the CMS zone, and do not have any special permissions - except over their own associated forum.
* @return array A pair: The input fields, Hidden fields
*/
public function get_form_fields(int $rank_image_pri_only = 1, int $open_membership = 0, int $is_private_club = 0) : array
* Get Tempcode for adding/editing form.
*
* @param BINARY $rank_image_pri_only Whether the rank image will not be shown for secondary membership
* @param BINARY $open_membership Whether members may join this usergroup without requiring any special permission
* @param BINARY $is_private_club Whether this usergroup is a private club. Private clubs may be managed in the CMS zone, and do not have any special permissions - except over their own associated forum.
* @return array A pair: The input fields, Hidden fields
*/
public function get_form_fields(int $rank_image_pri_only = 1, int $open_membership = 0, int $is_private_club = 0) : array
