Function Resource_fs_base->get_resource_access

Definitions

sources/resource_fs_base_class.php

  • Get resource view access on the resource.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

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)
$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)

Return

  • A mapping from group ID to view access
  • Type: array
  • Set: N/A
  • Range: N/A