Function __global->remap_foreign_key_as_portable

Definitions

sources/resource_fs.php

  • Convert a foreign key to something portable.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$_table_referenced array No No required parameter N/A N/A The table the key is to
$id ?mixed No No required parameter N/A N/A The key (null: not set)

Returns

  • Portable ID details (null: not set)
  • Type: ?mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert a foreign key to something portable.
 *
 * @param  array $_table_referenced The table the key is to
 * @param  ?mixed $id The key (null: not set)
 * @return ?mixed Portable ID details (null: not set)
 */

function remap_foreign_key_as_portable(array $_table_referenced, $id)