1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
removeaction.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Main\Grid\Panel\Action;
4
5
use Bitrix\Main\Grid\Panel\Snippet;
6
use Bitrix\Main\HttpRequest;
7
8
abstract
class
RemoveAction
implements
Action
9
{
10
public
static
function
getId
(): string
11
{
12
return
'remove'
;
13
}
14
15
public
function
getControl
(): ?
array
16
{
17
return
(
new
Snippet
)->getRemoveButton();
18
}
19
20
protected
function
getRequestRows
(
HttpRequest
$request
): ?
array
21
{
22
$ids =
$request
->getPost(
'ID'
);
23
if
(!is_array($ids))
24
{
25
return
null
;
26
}
27
28
return
$ids;
29
}
30
}
$request
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения
catalog_reindex.php:36
Bitrix\Main\Grid\Panel\Action\RemoveAction
Определения
removeaction.php:9
Bitrix\Main\Grid\Panel\Action\RemoveAction\getRequestRows
getRequestRows(HttpRequest $request)
Определения
removeaction.php:20
Bitrix\Main\Grid\Panel\Action\RemoveAction\getControl
getControl()
Определения
removeaction.php:15
Bitrix\Main\Grid\Panel\Action\RemoveAction\getId
static getId()
Определения
removeaction.php:10
Bitrix\Main\HttpRequest
Определения
httprequest.php:20
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Grid\Panel\Action\Action
Определения
action.php:18
Bitrix\Main\Grid\Panel\Snippet
Определения
button.php:3
bitrix
modules
main
lib
grid
panel
action
removeaction.php
Создано системой
1.14.0