Function Resource_fs_base->get_resource_access__members

Definitions

sources/resource_fs_base_class.php

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

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$filename ?ID_TEXT No No 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 No No Null N/A N/A The resource type (null: $filename specified instead)
$category ?ID_TEXT No No Null N/A N/A The resource ID (null: $filename specified instead)

Returns

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

Preview

Code (PHP)

/**
 * Get resource member view access on the resource.
 *
 * @param  ?ID_TEXT $filename Resource filename (assumed to be of a folder type) (null: $resource_type & $category specified instead)
 * @param  ?ID_TEXT $resource_type The resource type (null: $filename specified instead)
 * @param  ?ID_TEXT $category The resource ID (null: $filename specified instead)
 * @return array A mapping from member ID to view access
 */

public function get_resource_access__members(?string $filename, ?string $resource_type = null, ?string $category = null) : array