Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
baseitem.php
1
<?php
2
3
namespace
Bitrix\Catalog\Grid\Row\Actions\Item
;
4
5
use
Bitrix\Catalog\Grid\Access\ProductRightsChecker
;
6
7
abstract
class
BaseItem
extends
\Bitrix\Main\Grid\Row\Action\BaseAction
8
{
9
private
int
$iblockId;
10
private
ProductRightsChecker
$rights;
11
12
public
function
__construct
(
int
$iblockId,
ProductRightsChecker
$rights)
13
{
14
$this->iblockId = $iblockId;
15
$this->rights = $rights;
16
}
17
18
protected
function
getIblockId
(): int
19
{
20
return
$this->iblockId;
21
}
22
23
protected
function
getProductRightsChecker
():
ProductRightsChecker
24
{
25
return
$this->rights;
26
}
27
}
Bitrix\Catalog\Grid\Access\ProductRightsChecker
Definition
productrightschecker.php:13
Bitrix\Catalog\Grid\Row\Actions\Item\BaseItem
Definition
baseitem.php:8
Bitrix\Catalog\Grid\Row\Actions\Item\BaseItem\getIblockId
getIblockId()
Definition
baseitem.php:18
Bitrix\Catalog\Grid\Row\Actions\Item\BaseItem\getProductRightsChecker
getProductRightsChecker()
Definition
baseitem.php:23
Bitrix\Catalog\Grid\Row\Actions\Item\BaseItem\__construct
__construct(int $iblockId, ProductRightsChecker $rights)
Definition
baseitem.php:12
Bitrix\Main\Grid\Row\Action\BaseAction
Definition
baseaction.php:11
Bitrix\Catalog\Grid\Row\Actions\Item
Definition
baseitem.php:3
modules
catalog
lib
grid
row
actions
item
baseitem.php
Создано системой
1.10.0