Function __global->has_add_comcode_page_permission
Definitions
sources/permissions.php
- Check to see if a member has add permission for Comcode pages.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$zone | ?ID_TEXT | Null | N/A | N/A | The zone of Comcode pages we need it in (null: ANY zone, we are doing a vague check if the user could possibly) |
$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