Function Resource_fs_base->set_resource_privileges__members
Definitions
sources/resource_fs_base_class.php
- Set a resource privilege so that a member has a custom privilege on the resource.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$filename | ?ID_TEXT | required parameter | N/A | N/A | Resource filename (assumed to be of a folder type) (null: $resource_type & $category specified instead) |
$member_settings | array | required parameter | N/A | N/A | A map between member ID, and a map of privilege to setting |
$resource_type | ?ID_TEXT | Null | N/A | N/A | The resource type (null: $filename specified instead) |
$category | ?ID_TEXT | Null | N/A | N/A | The resource ID (null: $filename specified instead) |