См. определение в файле syncadapter.php строка 12
◆ deleteEvent()
static deleteEvent |
( |
| $eventId, |
|
|
| $params = [] ) |
|
static |
Deletes calendar event
- Аргументы
-
integer | $eventId | - id of the event. |
array | $params | contains additional information. |
- Возвращает
- true or false - result of the operation
См. определение в файле syncadapter.php строка 241
◆ getEventList()
static getEventList |
( |
| $sectionId = false, |
|
|
| $params = [] ) |
|
static |
Returns calendar events for given section.
- Аргументы
-
string | $sectionId | id of section (collection) to select events from. |
array | $params | additional params. |
- Возвращает
- array list of calendar events
См. определение в файле syncadapter.php строка 137
◆ getSectionList()
static getSectionList |
( |
| $entityType, |
|
|
| $entityId, |
|
|
| $params = [] ) |
|
static |
Returns collection of sections for user or other entity.
- Аргументы
-
string | $entityType | entity type (example: 'user' for user's calendars). |
int | $entityId | id of entity. |
array | $params | additional params. |
- Возвращает
- array list of calendar sections
См. определение в файле syncadapter.php строка 25
◆ getTaskList()
static getTaskList |
( |
| $userId, |
|
|
| $params = [] ) |
|
static |
Returns calendar events.
- Аргументы
-
string | $userId | user id |
array | $params | additional params. |
- Возвращает
- array list of tasks prepared for viewing in calendar view
См. определение в файле syncadapter.php строка 214