Function __global->update_lang_comcode_attachments
Definitions
sources/attachments3.php
- Update a content language string, in such a way that new attachments are created if they were specified.
- 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 |
$lang_id | mixed | required parameter | N/A | N/A | The content language string |
$text | LONG_TEXT | required parameter | N/A | N/A | The new text |
$type | ID_TEXT | required parameter | N/A | N/A | The arbitrary type that the attached is for (e.g. download) |
$id | ID_TEXT | required parameter | N/A | N/A | The ID in the set of the arbitrary types that the attached is for |
$db | ?object | Null | N/A | N/A | The database connector to use (null: standard site connector) |
$for_member | ?MEMBER | Null | N/A | N/A | The member that owns the content this is for (null: current member) |
Return
- The content language string save fields
- Type: array
- Set: N/A
- Range: N/A