Function __global->has_edit_comcode_page_permission
Definitions
sources/permissions.php
- Check to see if a member has permission to edit a specific Comcode page.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$zone | ID_TEXT | required parameter | N/A | N/A | The zone of the page |
$page | ID_TEXT | required parameter | N/A | N/A | The name of the page |
$owner | ?MEMBER | Null | N/A | N/A | Owner of the page (null: look it up) |
$member_id | ?MEMBER | Null | N/A | N/A | The member being checked for access (null: current member) |
Return
- If the permission is there
- Type: boolean
- Set: N/A
- Range: N/A