pm_Hook_ActiveList
in package
implements
pm_Hook_Interface
Abstract class for injection into active lists
Tags
Interfaces, Classes and Traits
- pm_Hook_Interface
- Generic interface for hooks
Table of Contents
- getItemServices() : array<string|int, mixed>
- Retrieve the list of services for specific item
Methods
getItemServices()
Retrieve the list of services for specific item
public
getItemServices(string $controller, string $action, string $itemId) : array<string|int, mixed>
[
[
'title' => string,
'icon' => string,
'link' => string,
'description' => string,
'toolbar' => [ // optional
[
'title' => string,
'link' => string,
],
...
],
'messages' => [ // optional
[
'icon' => string, // optional
'info' => string,
'noEscape' => bool, // optional, default is false
],
...
],
],
]
Parameters
- $controller : string
- $action : string
- $itemId : string