Function __global->_get_schedule_code_event_id
Definitions
sources/calendar2.php
- Get the ID of the calendar_events event for the provided scheduled hook and id.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$hook | ID_TEXT | required parameter | N/A | N/A | Hook to run under systems/commandr_scheduled |
$id | string | required parameter | N/A | N/A | Unspecified identifier for the resource behind this scheduled event, for future querying to find said event; also passed to the Commandr hook |
Return
- calendar_events id (null: event was not scheduled)
- Type: ?AUTO_LINK
- Set: N/A
- Range: N/A