3namespace Bitrix\Iblock\Grid\Row\Actions\Item;
5use Bitrix\Iblock\Grid\Row\Actions\Item\Helpers\WithUrl;
6use Bitrix\Main\Grid\Row\Action\BaseAction;
7use Bitrix\Main\HttpRequest;
8use Bitrix\Main\Localization\Loc;
15 public static function getId(): string
17 return 'copy_element';
29 return Loc::getMessage(
'IBLOCK_GRID_ROW_ACTIONS_COPY_ELEMENT_NAME');
34 if (empty($this->url))
39 $this->onclick =
"top.BX.SidePanel.Instance.open('" . $this->getUrlForOnclick() .
"')";
41 return parent::getControl($rawFields);
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
getControl(array $rawFields)
processRequest(HttpRequest $request)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)