1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
productgroupactionsitem.php
См. документацию.
1<?php
2
3namespace Bitrix\Catalog\Grid\Panel\UI\Item;
4
5use Bitrix\Catalog\Grid\Access\ProductRightsChecker;
6use Bitrix\Catalog\Grid\Panel\UI\Item\Group\ChangePricesGroupChild;
7use Bitrix\Catalog\Grid\Panel\UI\Item\Group\ConvertToProductGroupChild;
8use Bitrix\Catalog\Grid\Panel\UI\Item\Group\ConvertToServiceGroupChild;
9use Bitrix\Catalog\Grid\Panel\UI\Item\Group\SetParametersGroupChild;
10use Bitrix\Iblock\Grid\Panel\UI\Actions\Item\ElementGroupActionsItem;
11
16{
18 {
19 parent::__construct($iblockId, $rights, $listMode);
20 }
21
22 protected function prepareChildItems(): array
23 {
24 $result = parent::prepareChildItems();
25
26 if ($this->rights->canEditElements())
27 {
28 $result[] = new ConvertToServiceGroupChild($this->iblockId, $this->rights, $this->listMode);
29 $result[] = new ConvertToProductGroupChild($this->iblockId, $this->rights, $this->listMode);
30 $result[] = new SetParametersGroupChild($this->iblockId, $this->rights, $this->listMode);
31 }
32
33 if ($this->rights->canEditPrices())
34 {
36 }
37
38 return $result;
39 }
40}
__construct(int $iblockId, ProductRightsChecker $rights, string $listMode)
Определения productgroupactionsitem.php:17
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$result
Определения get_property_values.php:14