Function __global->cns_edit_group

Definitions

sources/cns_groups_action2.php

  • Edit a usergroup.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$rank_image_pri_only ?BINARY No No required parameter N/A N/A Whether the rank image will not be shown for secondary membership (null: do not change)
$open_membership ?BINARY No No required parameter N/A N/A Whether members may join this usergroup without requiring any special permission (null: do not change)
$is_private_club ?BINARY No No required parameter 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. (null: do not change)
$uniqify boolean No No False N/A N/A Whether to force the title as unique, if there's a conflict

Preview

Code (PHP)

/**
 * Edit a usergroup.
 *
 * @param  ?BINARY $rank_image_pri_only Whether the rank image will not be shown for secondary membership (null: do not change)
 * @param  ?BINARY $open_membership Whether members may join this usergroup without requiring any special permission (null: do not change)
 * @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. (null: do not change)
 * @param  boolean $uniqify Whether to force the title as unique, if there's a conflict
 */

function cns_edit_group(?int $rank_image_pri_only, ?int $open_membership, ?int $is_private_club, bool $uniqify = false)