Function __global->edit_resource_fs_record

Definitions

sources/resource_fs.php

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

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
$json LONG_TEXT No No required parameter N/A N/A The JSON resource data

Returns

  • Whether it was successful
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Edit a Resource-fs record.
 *
 * @param  ID_TEXT $resource_type The resource type
 * @param  ID_TEXT $resource_id The resource ID
 * @param  LONG_TEXT $json The JSON resource data
 * @return boolean Whether it was successful
 */

function edit_resource_fs_record(string $resource_type, string $resource_id, string $json) : bool