Table of Contents
Interfaces
- SectionManagerInterface
Methods
-
__construct()
: mixed
-
create()
: Result
-
delete()
: Result
-
getAvailableExternalType()
: array<string|int, mixed>
-
getSections()
: array<string|int, mixed>
-
getServiceName()
: string
-
resubscribe()
: Result
-
subscribe()
: Result
-
update()
: Result
__construct()
public
__construct(Connection $connection, int $userId) : mixed
Parameters
-
$connection
: Connection
-
-
$userId
: int
-
-
throws
-
ArgumentNullException
create()
public
create(Section $section, SectionContext|null $context) : Result
Parameters
-
$section
: Section
-
-
$context
: SectionContext|null
-
-
throws
-
LoaderException
-
throws
-
CDavArgumentNullException
delete()
public
delete(Section $section, SectionContext|null $context) : Result
Parameters
-
$section
: Section
-
-
$context
: SectionContext|null
-
-
throws
-
LoaderException
-
throws
-
CDavArgumentNullException
getAvailableExternalType()
public
getAvailableExternalType() : array<string|int, mixed>
Return values
array<string|int, mixed>
getSections()
public
getSections(Connection $connection) : array<string|int, mixed>
Parameters
-
$connection
: Connection
-
-
throws
-
ArgumentNullException
Return values
array<string|int, mixed>
getServiceName()
public
getServiceName() : string
resubscribe()
public
resubscribe(Push $push) : Result
Parameters
-
$push
: Push
-
subscribe()
public
subscribe(SectionConnection $link) : Result
Parameters
-
$link
: SectionConnection
-
update()
public
update(Section $section, SectionContext|null $context) : Result
Parameters
-
$section
: Section
-
-
$context
: SectionContext|null
-
-
throws
-
LoaderException
-
throws
-
CDavArgumentNullException