Bitrix API

StartSynchronizationManager implements StartSynchronization uses HandleStatusTrait

Table of Contents

Interfaces

StartSynchronization

Methods

__construct()  : mixed
addStatusHandler()  : $this
addStatusHandlerList()  : $this
createConnection()  : Connection
getStatusHandlerList()  : array<string|int, callable>
initSubscription()  : void
sendPushNotification()  : void
start()  : Connection|null
synchronize()  : array<string|int, mixed>|array<string|int, string>

Methods

__construct()

public __construct(mixed $userId) : mixed
Parameters
$userId : mixed
Tags
throws
ArgumentException
throws
ObjectNotFoundException
throws
ObjectPropertyException
throws
SystemException
throws
NotFoundExceptionInterface

addStatusHandler()

public addStatusHandler(callable $handler) : $this
Parameters
$handler : callable
Return values
$this

addStatusHandlerList()

public addStatusHandlerList(array<string|int, callable> $handlers) : $this
Parameters
$handlers : array<string|int, callable>
Return values
$this

getStatusHandlerList()

public getStatusHandlerList() : array<string|int, callable>
Return values
array<string|int, callable>

initSubscription()

public initSubscription(Connection $connection) : void
Parameters
$connection : Connection
Tags
throws
ArgumentException
throws
ObjectException
throws
ObjectNotFoundException
throws
ObjectPropertyException
throws
SystemException

synchronize()

public synchronize() : array<string|int, mixed>|array<string|int, string>
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>|array<string|int, string>

        
On this page

Search results