Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
StoreAnalyticViewRule.php
1
<?php
2
3
namespace
Bitrix\Catalog\Access\Rule
;
4
5
use
Bitrix\Catalog\Access\Model\StoreDocumentElement
;
6
use \Bitrix\Catalog\Access\Permission\PermissionDictionary;
7
8
class
StoreAnalyticViewRule
extends
VariableRule
9
{
10
protected
function
loadAvailableValues
(): array
11
{
12
return
array_column(PermissionDictionary::getStoreAnalyticVariables(),
'id'
);
13
}
14
}
Bitrix\Catalog\Access\Model\StoreDocumentElement
Definition
StoreDocumentElement.php:9
Bitrix\Catalog\Access\Rule\StoreAnalyticViewRule
Definition
StoreAnalyticViewRule.php:9
Bitrix\Catalog\Access\Rule\StoreAnalyticViewRule\loadAvailableValues
loadAvailableValues()
Definition
StoreAnalyticViewRule.php:10
Bitrix\Catalog\Access\Rule\VariableRule
Definition
VariableRule.php:23
Bitrix\Catalog\Access\Rule
Definition
BaseRule.php:3
modules
catalog
lib
Access
Rule
StoreAnalyticViewRule.php
Создано системой
1.10.0