Function __global->remap_portable_as_foreign_key

Definitions

sources/resource_fs.php

  • Convert a portable foreign key to a real foreign key.
  • 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
$portable_data ?mixed No No required parameter N/A N/A Portable ID details (null: not set)

Returns

  • The key (null: not set)
  • Type: ?mixed
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

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

function remap_portable_as_foreign_key(array $_table_referenced, $portable_data)