Function __global->delete_lang_comcode_attachments
Definitions
sources/attachments3.php
- This function is the same as delete_comcode_attachments, except that it deletes the content language string as well.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $lang_id | mixed | No | No | required parameter | N/A | N/A | The content language string |
| $type | ID_TEXT | No | No | required parameter | N/A | N/A | The arbitrary type that the attached is for (e.g. download) |
| $id | ID_TEXT | No | No | required parameter | N/A | N/A | The ID in the set of the arbitrary types that the attached is for |
| $db | ?object | No | No | Null | N/A | N/A | The database connector to use (null: standard site connector) |
Preview
Code (PHP)
/**
* This function is the same as delete_comcode_attachments, except that it deletes the content language string as well.
*
* @param mixed $lang_id The content language string
* @param ID_TEXT $type The arbitrary type that the attached is for (e.g. download)
* @param ID_TEXT $id The ID in the set of the arbitrary types that the attached is for
* @param ?object $db The database connector to use (null: standard site connector)
*/
function delete_lang_comcode_attachments($lang_id, string $type, string $id, ?object $db = null)
* This function is the same as delete_comcode_attachments, except that it deletes the content language string as well.
*
* @param mixed $lang_id The content language string
* @param ID_TEXT $type The arbitrary type that the attached is for (e.g. download)
* @param ID_TEXT $id The ID in the set of the arbitrary types that the attached is for
* @param ?object $db The database connector to use (null: standard site connector)
*/
function delete_lang_comcode_attachments($lang_id, string $type, string $id, ?object $db = null)

