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>
__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
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
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>
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
Return values
array<string|int, mixed>