PrepareFacets uses trait:short
Table of Contents
Properties
- $params : array<string|int, mixed>|null
- The model reference.
Methods
- initializeParams() : static
- Initialize the params definition.
- prepareFacets() : array<string|int, mixed>|null
- Prepare the facets definitions.
- prepareParamsFacets() : void
- Try to creates the facets definition with the $this->params array definition of the controller.
Properties
$params
The model reference.
public
array<string|int, mixed>|null
$params
= null
Methods
initializeParams()
Initialize the params definition.
protected
initializeParams([array<string|int, mixed> $init = [] ]) : static
Parameters
- $init : array<string|int, mixed> = []
Return values
staticprepareFacets()
Prepare the facets definitions.
protected
prepareFacets(ServerRequestInterface|null $request[, array<string|int, mixed> $args = [] ][, array<string|int, mixed>|null &$params = [] ]) : array<string|int, mixed>|null
Parameters
- $request : ServerRequestInterface|null
- $args : array<string|int, mixed> = []
- $params : array<string|int, mixed>|null = []
Return values
array<string|int, mixed>|nullprepareParamsFacets()
Try to creates the facets definition with the $this->params array definition of the controller.
protected
prepareParamsFacets(ServerRequestInterface|null $request[, array<string|int, mixed> $args = [] ][, array<string|int, mixed> &$facets = [] ][, array<string|int, mixed>|null &$params = [] ]) : void
Target all 'facets' definitions.
Parameters
- $request : ServerRequestInterface|null
- $args : array<string|int, mixed> = []
- $facets : array<string|int, mixed> = []
- $params : array<string|int, mixed>|null = []