Function Resource_fs_base->set_resource_access

Definitions

sources/resource_fs_base_class.php

  • Set resource view access 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)
$groups array required parameter N/A N/A A mapping from group ID to view access
$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)