Function __global->parse_translated_text
Definitions
sources/lang3.php
- get_translated_tempcode was asked for a lang entry that had not been parsed into Tempcode yet.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$table | ID_TEXT | required parameter | N/A | N/A | The table name |
$row | array | required parameter | N/A | N/A | The database row |
$field_name | ID_TEXT | required parameter | N/A | N/A | The field name |
$db | ?object | required parameter | N/A | N/A | The database connector to use (null: standard site connector) |
$lang | ?LANGUAGE_NAME | required parameter | N/A | N/A | The language (null: uses the current language) |
$force | boolean | required parameter | N/A | N/A | Whether to force it to the specified language |
$as_admin | boolean | required parameter | N/A | N/A | Whether to force as_admin, even if the content language string isn't stored against an admin (designed for Comcode page caching) |
Return
- The parsed Comcode (null: the text couldn't be looked up)
- Type: ?Tempcode
- Set: N/A
- Range: N/A