Function __global->save_privacy_form_fields
Definitions
sources/content_privacy2.php
- Actualise form data for setting content privacy.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$content_type | ID_TEXT | required parameter | N/A | N/A | The content type |
$content_id | ?ID_TEXT | required parameter | N/A | N/A | The content ID (null: adding) |
$privacy_level | ID_TEXT | required parameter | N/A | N/A | The privacy level |
$additional_access | array | required parameter | N/A | N/A | A list of usernames |
$send_invites | boolean | True | N/A | N/A | Whether to send out invite notifications (only do this is it is a new content entry, rather than something obscure, like a member's photo) |
Return
- Whether it saved something
- Type: boolean
- Set: N/A
- Range: N/A