Anonymity
Table of Contents
Constants
- ANONYMOUSLY = 2
- PUBLICLY = 1
- UNDEFINED = 0
Methods
- getList() : array<string|int, mixed>
- Gets types list
- getTitle() : mixed
- getTitledList() : array<string|int, mixed>
- Gets types list
- getValues() : array<string|int, mixed>
- isUserVoteVisible() : bool
- Returns visibility user voting result for others.
- validate() : mixed
Constants
ANONYMOUSLY
public
mixed
ANONYMOUSLY
= 2
PUBLICLY
public
mixed
PUBLICLY
= 1
UNDEFINED
public
mixed
UNDEFINED
= 0
Methods
getList()
Gets types list
public
static getList() : array<string|int, mixed>
Return values
array<string|int, mixed>getTitle()
public
static getTitle() : mixed
getTitledList()
Gets types list
public
static getTitledList() : array<string|int, mixed>
Return values
array<string|int, mixed>getValues()
public
static getValues() : array<string|int, mixed>
Return values
array<string|int, mixed>isUserVoteVisible()
Returns visibility user voting result for others.
public
static isUserVoteVisible(bool $userValue, mixed $voteValue) : bool
Parameters
- $userValue : bool
- $voteValue : mixed
Return values
boolvalidate()
public
static validate(mixed $value) : mixed
Parameters
- $value : mixed