Function __global->add_event_type
Definitions
sources/calendar2.php
- Add a calendar event type.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$title | SHORT_TEXT | required parameter | N/A | N/A | The title of the event type |
$logo | ID_TEXT | required parameter | N/A | N/A | The theme image code |
$external_feed | URLPATH | Blank (empty string) | N/A | N/A | URL to external feed to associate with this event type |
Return
- The ID of the event type
- Type: AUTO_LINK
- Set: N/A
- Range: N/A