Function __global->cns_group_absorb_privileges_of
Definitions
sources/cns_groups_action2.php
- Copy permissions relating to one, to another.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $to | GROUP | No | No | required parameter | N/A | N/A | The that is having its permissions replaced |
| $from | GROUP | No | No | required parameter | N/A | N/A | The that the permissions are being drawn from |
Preview
Code (PHP)
/**
* Copy permissions relating to one, to another.
*
* @param GROUP $to The that is having its permissions replaced
* @param GROUP $from The that the permissions are being drawn from
*/
function cns_group_absorb_privileges_of(int $to, int $from)
* Copy permissions relating to one, to another.
*
* @param GROUP $to The that is having its permissions replaced
* @param GROUP $from The that the permissions are being drawn from
*/
function cns_group_absorb_privileges_of(int $to, int $from)

