SectionManager extends Manager implements SectionManagerInterface
Table of Contents
Interfaces
Constants
- CALENDAR_LIST_PATH = '/users/me/calendarList/%CALENDAR_ID%'
- CALENDAR_PATH = '/calendars/%CALENDAR_ID%'
- CREATE_PATH = '/calendars/'
Methods
- __construct() : mixed
- create() : Result
- delete() : Result
- getAvailableExternalType() : array<string|int, mixed>
- getServiceName() : string
- update() : Result
Constants
CALENDAR_LIST_PATH
public
mixed
CALENDAR_LIST_PATH
= '/users/me/calendarList/%CALENDAR_ID%'
CALENDAR_PATH
public
mixed
CALENDAR_PATH
= '/calendars/%CALENDAR_ID%'
CREATE_PATH
public
mixed
CREATE_PATH
= '/calendars/'
Methods
__construct()
public
__construct(Connection $connection, int $userId) : mixed
Parameters
- $connection : Connection
- $userId : int
Tags
create()
public
create(Section $section[, SectionContext|null $context = null ]) : Result
Parameters
- $section : Section
- $context : SectionContext|null = null
Tags
Return values
Resultdelete()
public
delete(Section $section, SectionContext $context) : Result
Parameters
- $section : Section
- $context : SectionContext
Tags
Return values
ResultgetAvailableExternalType()
public
getAvailableExternalType() : array<string|int, mixed>
Return values
array<string|int, mixed>getServiceName()
public
getServiceName() : string
Return values
stringupdate()
public
update(Section $section, SectionContext $context) : Result
Parameters
- $section : Section
- $context : SectionContext