Function __global->table_to_json
Definitions
sources/resource_fs.php
- Transfer a table's contents to JSON format.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
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 |
Return
- JSON data
- Type: string
- Set: N/A
- Range: N/A