Function __global->notifications_ui_advanced
Definitions
sources/notifications2.php
- Put out a user interface for managing notifications for a notification-category supporting content type. Also toggle notifications if an ID is passed.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$notification_code | ID_TEXT | required parameter | N/A | N/A | The notification code to work with |
$enable_message | ?Tempcode | Null | N/A | N/A | Special message to output if we have toggled to enable (null: use standard) |
$disable_message | ?Tempcode | Null | N/A | N/A | Special message to output if we have toggled to disable (null: use standard) |
Return
- UI
- Type: Tempcode
- Set: N/A
- Range: N/A