Function __global->table_to_portable_rows

Definitions

sources/resource_fs.php

  • Transfer a table's contents to portable rows.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$table string required parameter N/A N/A Table name
$fields_to_skip array [] N/A N/A Fields to not include in the table dump. Any keys from $where_map will also be skipped, as these are obviously constant for all rows returned.
$where_map array [] N/A N/A Extra WHERE constraints
$db ?object Null N/A N/A Database connector to look up from (null: work out from table name)

Return

  • Portable rows
  • Type: array
  • Set: N/A
  • Range: N/A