Bitrix API

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
throws
ArgumentTypeException
throws
SqlQueryException

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
throws
ArgumentTypeException
throws
SqlQueryException

updateLastVisit()

public static updateLastVisit(int $taskId, int $userId[, DateTime|null $lastVisit = null ]) : void
Parameters
$taskId : int
$userId : int
$lastVisit : DateTime|null = null
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
throws
Exception

        
On this page

Search results