CollabProvider uses InstanceTrait
Table of Contents
Methods
- disableCache() : static
- enableCache() : static
- getCollab() : Collab|null
- getCount() : int
- getCountByUserId() : int
- getInstance() : static
- getList() : CollabCollection
- getListByUserId() : CollabCollection
- isCollab() : bool
- isExistingGroup() : bool
Methods
disableCache()
public
disableCache() : static
Return values
staticenableCache()
public
enableCache() : static
Return values
staticgetCollab()
public
getCollab(int $id) : Collab|null
Parameters
- $id : int
Return values
Collab|nullgetCount()
public
getCount(CollabQuery $query) : int
Parameters
- $query : CollabQuery
Return values
intgetCountByUserId()
public
getCountByUserId(int $userId) : int
Parameters
- $userId : int
Return values
intgetInstance()
public
static getInstance() : static
Return values
staticgetList()
public
getList(CollabQuery $query) : CollabCollection
Parameters
- $query : CollabQuery
Return values
CollabCollectiongetListByUserId()
public
getListByUserId(int $userId[, CollabQuery|null $query = null ]) : CollabCollection
Parameters
- $userId : int
- $query : CollabQuery|null = null
Return values
CollabCollectionisCollab()
public
isCollab(int $id) : bool
Parameters
- $id : int
Tags
Return values
boolisExistingGroup()
public
isExistingGroup(string $name[, int $groupId = 0 ]) : bool
Parameters
- $name : string
- $groupId : int = 0