Function DatabaseConnector->promote_text_field_to_comcode
Definitions
sources/database.php
- If a text field has picked up Comcode support, we will need to run this.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$table_name | ID_TEXT | required parameter | N/A | N/A | The table name |
$name | ID_TEXT | required parameter | N/A | N/A | The field name |
$key | ID_TEXT | id | N/A | N/A | The tables key field name |
$level | integer | 2 | N/A | N/A | The translation level to use |
$in_assembly | boolean | False | N/A | N/A | Whether our data is already stored in Tempcode assembly format |
$long_trans | boolean | False | N/A | N/A | Whether this should be a LONG_TRANS__COMCODE field, not a SHORT_TRANS__COMCODE field |