Bitrix API

EditAction extends EditAction

FinalYes

Table of Contents

Methods

__construct()  : mixed
getControl()  : array<string|int, mixed>|null
Panel control.
getId()  : string
Action's id.
processRequest()  : Result|null
Request processing.

Methods

__construct()

public __construct(Factory $factory, Context $context[, int|null $categoryId = null ][, array<string|int, mixed>|null $editableFieldsWhitelist = null ][, array<string|int, mixed> $columnNameToEditableFieldNameMap = [] ]) : mixed
Parameters
$factory : Factory
$context : Context
$categoryId : int|null = null
$editableFieldsWhitelist : array<string|int, mixed>|null = null
$columnNameToEditableFieldNameMap : array<string|int, mixed> = []

getControl()

Panel control.

public getControl() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getId()

Action's id.

public static getId() : string
Return values
string

processRequest()

Request processing.

public processRequest(HttpRequest $request, bool $isSelectedAllRows, Filter|null $filter) : Result|null
Parameters
$request : HttpRequest
$isSelectedAllRows : bool
$filter : Filter|null

if is selected all rows, MUST BE to use a filter to get a list of items.

Return values
Result|null

null is returned if the action does not have a handler, or the action cannot return the result object.


        
On this page

Search results