Function __global->_get_privileges_for_node
Definitions
sources/sitemap_ajax.php
- Get a mapping of set privileges for a particular sitemap node.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$admin_groups | array | required parameter | N/A | N/A | Global list of admin groups |
$groups | array | required parameter | N/A | N/A | Global map of usergroups (ID => name) |
$node | array | required parameter | N/A | N/A | The sitemap node |
Return
- A map of set privileges (group => (privileges => value)) (null: no view permissions for this node)
- Type: ?array
- Set: N/A
- Range: N/A