SyncUrlsRepository
in package
Table of Contents
- $tableName : mixed
- __construct() : mixed
- getAllRoomIds() : array<string|int, int>
- getDuplicatingUrls() : array<string|int, mixed>
- getUrls() : mixed
- insertUrls() : mixed
- removeUrls() : mixed
- updateUrls() : mixed
- prepareUrls() : mixed
Properties
$tableName
protected
mixed
$tableName
= 'mphb_sync_urls'
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getAllRoomIds()
public
getAllRoomIds() : array<string|int, int>
Tags
Return values
array<string|int, int> —getDuplicatingUrls()
public
getDuplicatingUrls(int $roomId) : array<string|int, mixed>
Parameters
- $roomId : int
Tags
Return values
array<string|int, mixed> —[%syncId% => [%roomIds%, %calendarUrl%]]
getUrls()
public
getUrls(mixed $roomId) : mixed
Parameters
- $roomId : mixed
Return values
mixed —insertUrls()
public
insertUrls(mixed $roomId, mixed $urls) : mixed
Parameters
- $roomId : mixed
- $urls : mixed
Return values
mixed —removeUrls()
public
removeUrls(int $roomId[, null|string|array<string|int, string> $syncId = null ]) : mixed
Parameters
- $roomId : int
- $syncId : null|string|array<string|int, string> = null
Tags
Return values
mixed —updateUrls()
public
updateUrls(mixed $roomId, mixed $urls) : mixed
Parameters
- $roomId : mixed
- $urls : mixed
Return values
mixed —prepareUrls()
protected
prepareUrls(mixed $urls) : mixed
Parameters
- $urls : mixed