Bitrix API

VoteAccessController

Table of Contents

Methods

__construct()  : mixed
afterGetVoteList()  : array<string|int, mixed>
beforeGetVoteList()  : array<string|int, mixed>
check()  : bool
checkEvent()  : array<string|int, mixed>
filterUsers()  : array<string|int, mixed>

Methods

__construct()

public __construct([int $userId = 0 ]) : mixed
Parameters
$userId : int = 0

afterGetVoteList()

public static afterGetVoteList(array<string|int, mixed> $param, array<string|int, mixed> $items) : array<string|int, mixed>
Parameters
$param : array<string|int, mixed>
$items : array<string|int, mixed>
Return values
array<string|int, mixed>

beforeGetVoteList()

public static beforeGetVoteList(array<string|int, mixed> $info) : array<string|int, mixed>
Parameters
$info : array<string|int, mixed>
Return values
array<string|int, mixed>

check()

public check(string $typeId, int $entityId) : bool
Parameters
$typeId : string
$entityId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
bool

checkEvent()

public static checkEvent([array<string|int, mixed> $info = [] ]) : array<string|int, mixed>
Parameters
$info : array<string|int, mixed> = []
Return values
array<string|int, mixed>

filterUsers()

public filterUsers(array<string|int, mixed> $userIds) : array<string|int, mixed>
Parameters
$userIds : array<string|int, mixed>
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException
Return values
array<string|int, mixed>

        
On this page

Search results