Function __global->get_zone_permission_where_clause
Definitions
sources/permissions.php
- Get an SQL WHERE clause for checking member access to a zone.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$zone_field | ID_TEXT | required parameter | N/A | N/A | The field in the main query row that holds the zone |
$member_id | ?MEMBER | required parameter | N/A | N/A | The member to check individual access for (null: none) |
$groups | string | required parameter | N/A | N/A | SQL from get_permission_where_clause_groups |
$row_alias | ID_TEXT | r | N/A | N/A | The alias for the main query row |
Return
- SQL
- Type: string
- Set: N/A
- Range: N/A