Types
extends Component
in package
Table of Contents
- EVENT_REGISTER = 'event-register'
- $_types : array<string|int, mixed>
- All logs types, indexed by handle
- getTypeClassByHandle() : string
- Get a type class by handle
- getTypes() : array<string|int, mixed>
- Get all registered types
- getUsedTypes() : array<string|int, mixed>
- Get all types used in database
- hasType() : bool
- Is a type handle registered
- register() : mixed
- Register types
Constants
EVENT_REGISTER
public
mixed
EVENT_REGISTER
= 'event-register'
Properties
$_types
All logs types, indexed by handle
protected
array<string|int, mixed>
$_types
Methods
getTypeClassByHandle()
Get a type class by handle
public
getTypeClassByHandle(string $handle) : string
Parameters
- $handle : string
Return values
string —getTypes()
Get all registered types
public
getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —getUsedTypes()
Get all types used in database
public
getUsedTypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —hasType()
Is a type handle registered
public
hasType(string $handle) : bool
Parameters
- $handle : string
Return values
bool —register()
Register types
protected
register() : mixed