Function __global->reload_lang_fields
Definitions
sources/database.php
- Reload language fields from the database.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $full | boolean | No | No | False | N/A | N/A | Whether we need to know about non-Comcode language fields (forced to true for multi-lang-content sites, or if $fields is passed) |
| $only_table | ?string | No | No | Null | N/A | N/A | The only table to reload for (null: all tables) |
| $fields | ?array | No | No | Null | N/A | N/A | Full list of table fields, used for installation code only and $only_table must be passed (null: look up) |
Preview
Code (PHP)
/**
* Reload language fields from the database.
*
* @param boolean $full Whether we need to know about non-Comcode language fields (forced to true for multi-lang-content sites, or if $fields is passed)
* @param ?string $only_table The only table to reload for (null: all tables)
* @param ?array $fields Full list of table fields, used for installation code only and $only_table must be passed (null: look up)
*/
function reload_lang_fields(bool $full = false, ?string $only_table = null, ?array $fields = null)
* Reload language fields from the database.
*
* @param boolean $full Whether we need to know about non-Comcode language fields (forced to true for multi-lang-content sites, or if $fields is passed)
* @param ?string $only_table The only table to reload for (null: all tables)
* @param ?array $fields Full list of table fields, used for installation code only and $only_table must be passed (null: look up)
*/
function reload_lang_fields(bool $full = false, ?string $only_table = null, ?array $fields = null)

