Lib_Enum_GenericAbstract
in package
Table of Contents
- getById() : mixed
- Get style by id.
- getValues() : array<string|int, mixed>
- validateId() : bool
- Validates id
- validateValue() : bool
- Validates value
Methods
getById()
Get style by id.
public
getById(int $id) : mixed
Parameters
- $id : int
Return values
mixed —or NULL on failure
getValues()
public
getValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —validateId()
Validates id
public
validateId(mixed $id) : bool
Parameters
- $id : mixed
Return values
bool —validateValue()
Validates value
public
validateValue( $value) : bool