pm_Hook_Limits
in package
implements
pm_Hook_Interface
Hook for registering limits
Tags
Interfaces, Classes and Traits
- pm_Hook_Interface
- Generic interface for hooks
Table of Contents
- PLACE_ADDITIONAL = 'additional'
- PLACE_MAIN = 'main'
- getLimits() : array<string|int, mixed>
- Retrieve the list of limits
Constants
PLACE_ADDITIONAL
public
mixed
PLACE_ADDITIONAL
= 'additional'
PLACE_MAIN
public
mixed
PLACE_MAIN
= 'main'
Methods
getLimits()
Retrieve the list of limits
public
abstract getLimits() : array<string|int, mixed>
[
'unique_limit_id' => [
'default' => false,
'place' => self::PLACE_MAIN,
'name' => 'Limit name',
'description' => 'Limit description',
],
...
]