ClearCounterItem extends BaseItem
FinalYes
Single item for actions of row.
Table of Contents
Methods
- __construct() : mixed
- getControl() : array<string|int, mixed>|null
- Row's context menu control.
- getId() : string
- Action's id.
- processRequest() : Result|null
- Request processing.
Methods
__construct()
public
__construct(int $iblockId, IblockRightsChecker $rights) : mixed
Parameters
- $iblockId : int
- $rights : IblockRightsChecker
getControl()
Row's context menu control.
public
getControl(array<string|int, mixed> $rawFields) : array<string|int, mixed>|null
Parameters
- $rawFields : array<string|int, mixed>
Return values
array<string|int, mixed>|nullgetId()
Action's id.
public
static getId() : string
Return values
stringprocessRequest()
Request processing.
public
processRequest(HttpRequest $request) : Result|null
Parameters
- $request : HttpRequest
Return values
Result|null —null
is returned if the action does not have a handler, or the action cannot return the result object.