Function __global->remap_trans_as_portable
Definitions
sources/resource_fs.php
- Find all translated strings for a content language string ID. This is used as an intermediate step in creating multi-language portings.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $db_row | array | No | No | required parameter | N/A | N/A | Database row |
| $field | string | No | No | required parameter | N/A | N/A | Database field |
| $db | object | No | No | required parameter | N/A | N/A | Database connector to look up from |
Returns
- Portable data
- Type: mixed
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find all translated strings for a content language string ID. This is used as an intermediate step in creating multi-language portings.
*
* @param array $db_row Database row
* @param string $field Database field
* @param object $db Database connector to look up from
* @return mixed Portable data
*/
function remap_trans_as_portable(array $db_row, string $field, object $db)
* Find all translated strings for a content language string ID. This is used as an intermediate step in creating multi-language portings.
*
* @param array $db_row Database row
* @param string $field Database field
* @param object $db Database connector to look up from
* @return mixed Portable data
*/
function remap_trans_as_portable(array $db_row, string $field, object $db)

