Function __global->lang_code_to_static_content
Definitions
sources/lang3.php
- Take a static string and save it into a content language string in the database, for all translations.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$field_name | ID_TEXT | required parameter | N/A | N/A | The field name |
$str | ID_TEXT | required parameter | N/A | N/A | The static string |
$comcode | boolean | False | N/A | N/A | Whether the given codes value is to be parsed as Comcode |
$level | integer | 2 | N/A | N/A | The level of importance this content language string holds |
$db | ?object | Null | N/A | N/A | The database connector to use (null: standard site connector) |
Return
- The content language string save fields
- Type: array
- Set: N/A
- Range: N/A