Function __global->sql_region_filter
Definitions
sources/locations.php
- Get SQL to add to wider SQL query, for region filtering.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$content_type | string | required parameter | N/A | N/A | The content type |
$field_name_to_join | string | required parameter | N/A | N/A | Field name for content ID in table being connected to |
$region | ?string | Null | N/A | N/A | Region to show for (null: auto-detect) |
Return
- SQL
- Type: string
- Set: N/A
- Range: N/A