UserTopic extends Forum
Class UserTopic
Table of Contents
Constants
- MODULE_NAME = 'forum'
Methods
- getParser() : mixed
- onReadAll() : void
- readGroups() : void
- updateLastVisit() : void
Constants
MODULE_NAME
public
mixed
MODULE_NAME
= 'forum'
Methods
getParser()
public
static getParser([array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
- $parameters : array<string|int, mixed> = array()
onReadAll()
public
static onReadAll(mixed $currentUserId[, mixed $userJoin = '' ][, string $groupCondition = '' ]) : void
Parameters
- $currentUserId : mixed
- $userJoin : mixed = ''
- $groupCondition : string = ''
Tags
readGroups()
public
static readGroups(int $userId, array<string|int, mixed> $groupIds[, bool $closedOnly = false ]) : void
Parameters
- $userId : int
- $groupIds : array<string|int, mixed>
- $closedOnly : bool = false
Tags
updateLastVisit()
public
static updateLastVisit(int $taskId, int $userId[, DateTime|null $lastVisit = null ]) : void
Parameters
- $taskId : int
- $userId : int
- $lastVisit : DateTime|null = null