Function Hook_attachments_wiki_page->run
Definitions
sources/hooks/systems/attachments/wiki_page.php
- Run function for attachment hooks. They see if permission to an attachment of an ID relating to this content is present for a member.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$id | ID_TEXT | required parameter | N/A | N/A | The ID |
$db | object | required parameter | N/A | N/A | The database connector to check on |
$member_id | MEMBER | required parameter | N/A | N/A | The member to check for |
Return
- Whether there is permission
- Type: boolean
- Set: N/A
- Range: N/A