Function __global->table_from_json
Definitions
sources/resource_fs.php
- Transfer JSON format to a table.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$table | string | required parameter | N/A | N/A | Table name |
$json | mixed | required parameter | N/A | N/A | JSON data OR rows that are already decoded |
$extra_field_data | array | required parameter | N/A | N/A | Extra data to add to each row |
$replace_mode | integer | required parameter | N/A | N/A | Whether to fully replace the current table contents |
Return
- Success status
- Type: boolean
- Set: N/A
- Range: N/A