Provider
FinalYes
Table of Contents
Methods
- __construct() : mixed
- getCommonSpace() : Space
- getMySpaceIds() : array<string|int, int>
- getSpaceById() : Space|null
- getSpaces() : Result
- getSpacesByIds() : array<string|int, Space>
- searchSpaces() : Result
- setMode() : self
- setOffset() : self
Methods
__construct()
public
__construct(int $userId[, string $mode = Dictionary::FILTER_MODES['all'] ]) : mixed
Parameters
- $userId : int
- $mode : string = Dictionary::FILTER_MODES['all']
getCommonSpace()
public
getCommonSpace() : Space
Return values
SpacegetMySpaceIds()
public
getMySpaceIds() : array<string|int, int>
Return values
array<string|int, int>getSpaceById()
public
getSpaceById(int $spaceId) : Space|null
Parameters
- $spaceId : int
Return values
Space|nullgetSpaces()
public
getSpaces() : Result
Return values
ResultgetSpacesByIds()
public
getSpacesByIds(array<string|int, mixed> $spaceIds) : array<string|int, Space>
Parameters
- $spaceIds : array<string|int, mixed>
Return values
array<string|int, Space>searchSpaces()
public
searchSpaces(string $searchString) : Result
Parameters
- $searchString : string
Return values
ResultsetMode()
public
setMode(string $mode) : self
Parameters
- $mode : string
Return values
selfsetOffset()
public
setOffset(int $offset) : self
Parameters
- $offset : int