Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
baseelementprovider.php
1
<?php
2
3
namespace
Bitrix\Iblock\Grid\Column
;
4
5
use
Bitrix\Iblock\Grid\Entity
;
6
use
Bitrix\Main\Grid\Column\DataProvider
;
7
11
abstract
class
BaseElementProvider
extends
DataProvider
12
{
13
public
function
__construct
(
Entity
\
ElementSettings
$settings)
14
{
15
parent::__construct($settings);
16
}
17
18
protected
function
getIblockId
(): int
19
{
20
return
$this->
getSettings
()->getIblockId();
21
}
22
23
protected
function
isSkuSelectorEnabled
(): bool
24
{
25
return
$this->
getSettings
()->isSkuSelectorEnabled();
26
}
27
28
protected
function
isNewCardEnabled
(): bool
29
{
30
return
$this->
getSettings
()->isNewCardEnabled();
31
}
32
}
Bitrix\Iblock\Grid\Column\BaseElementProvider
Definition
baseelementprovider.php:12
Bitrix\Iblock\Grid\Column\BaseElementProvider\isNewCardEnabled
isNewCardEnabled()
Definition
baseelementprovider.php:28
Bitrix\Iblock\Grid\Column\BaseElementProvider\getIblockId
getIblockId()
Definition
baseelementprovider.php:18
Bitrix\Iblock\Grid\Column\BaseElementProvider\isSkuSelectorEnabled
isSkuSelectorEnabled()
Definition
baseelementprovider.php:23
Bitrix\Iblock\Grid\Column\BaseElementProvider\__construct
__construct(Entity\ElementSettings $settings)
Definition
baseelementprovider.php:13
Bitrix\Iblock\Grid\Entity\ElementSettings
Definition
elementsettings.php:9
Bitrix\Main\Grid\Column\DataProvider
Definition
dataprovider.php:15
Bitrix\Main\Grid\Column\DataProvider\getSettings
getSettings()
Definition
dataprovider.php:31
Bitrix\Main\ORM\Entity
Definition
entity.php:26
Bitrix\Iblock\Grid\Column
Definition
baseelementprovider.php:3
Bitrix\Iblock\Grid\Entity
Definition
elementsettings.php:3
modules
iblock
lib
grid
column
baseelementprovider.php
Создано системой
1.10.0