DeclineAction extends JsGridAction
Single item for actions of row.
Table of Contents
Methods
- __construct() : mixed
- getControl() : array<string|int, mixed>|null
- Row's context menu control.
- getExtensionMethod() : string
- getId() : string
- Action's id.
- getSettings() : UserSettings
- isAvailable() : bool
- processRequest() : Result|null
- Request processing.
Methods
__construct()
public
__construct(UserSettings $settings) : mixed
Parameters
- $settings : UserSettings
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>|nullgetExtensionMethod()
public
getExtensionMethod() : string
Return values
stringgetId()
Action's id.
public
static getId() : string
Return values
stringgetSettings()
public
getSettings() : UserSettings
Return values
UserSettingsisAvailable()
public
isAvailable(array<string|int, mixed> $rawFields) : bool
Parameters
- $rawFields : array<string|int, mixed>
Return values
boolprocessRequest()
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.