Function __global->get_resource_fs_record

Definitions

sources/resource_fs.php

  • Get a Resource-fs record.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$resource_type ID_TEXT No No required parameter N/A N/A The resource type
$resource_id ID_TEXT No No required parameter N/A N/A The resource ID

Returns

  • A pair: the JSON data, the path (null: could not find)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a Resource-fs record.
 *
 * @param  ID_TEXT $resource_type The resource type
 * @param  ID_TEXT $resource_id The resource ID
 * @return ?array A pair: the JSON data, the path (null: could not find)
 */

function get_resource_fs_record(string $resource_type, string $resource_id) : ?array