Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/main/lib/grid/row/action/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/main/lib/grid/row/action/action.php |
<?php namespace Bitrix\Main\Grid\Row\Action; use Bitrix\Main\HttpRequest; use Bitrix\Main\Result; /** * Object of a single row action. */ interface Action { /** * Action's id. * * @return string */ public static function getId(): ?string; /** * Request processing. * * @param HttpRequest $request * * @return Result|null `null` is returned if the action does not have a handler, or the action cannot return the result object. */ public function processRequest(HttpRequest $request): ?Result; /** * Row's context menu control. * * @return array|null */ public function getControl(array $rawFields): ?array; }