Function __global->actual_add_zone
Definitions
sources/zones2.php
- Add a zone.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$zone | ID_TEXT | required parameter | N/A | N/A | Name of the zone |
$title | SHORT_TEXT | required parameter | N/A | N/A | The zone title |
$default_page | ID_TEXT | home | N/A | N/A | The zones default page |
$header_text | SHORT_TEXT | Blank (empty string) | N/A | N/A | The header text |
$theme | ID_TEXT | default | N/A | N/A | The theme |
$require_session | BINARY | 0 | N/A | N/A | Whether the zone requires a session for pages to be used |
$uniqify | boolean | False | N/A | N/A | Whether to force the name as unique, if there's a conflict |
$base_url | string | Blank (empty string) | N/A | N/A | The base URL (blank: natural) |
Return
- The name
- Type: ID_TEXT
- Set: N/A
- Range: N/A