Function DatabaseConnector->translate_field_join
Definitions
sources/database.php
- Create a join into the translate table, with a preference to language-matched translations but fall-back.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$field | ID_TEXT | required parameter | N/A | N/A | Field name of what we are joining against |
$join_alias | string | t | N/A | N/A | Join alias |
$lang | ?LANGUAGE_NAME | Null | N/A | N/A | Language (null: current language) |
$join_type | string | LEFT JOIN | N/A | N/A | Join type |
Return
- Join SQL
- Type: string
- Set: N/A
- Range: N/A