Function Hook_notification_comment_posted->create_category_tree
Definitions
sources/hooks/systems/notifications/comment_posted.php
- Standard function to create the standardised category tree.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$notification_code | ID_TEXT | required parameter | N/A | N/A | Notification code |
$id | ?ID_TEXT | required parameter | N/A | N/A | The ID of where we're looking under (null: N/A) |
Return
- Tree structure
- Type: array
- Set: N/A
- Range: N/A