1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
StoreViewRule.php
См. документацию.
1<?php
2
3namespace Bitrix\Catalog\Access\Rule;
4
5use Bitrix\Catalog\Access\Model\StoreDocumentElement;
6use \Bitrix\Catalog\Access\Permission\PermissionDictionary;
7
9{
10 protected function loadAvailableValues(): array
11 {
12 return array_column(PermissionDictionary::getStoreVariables(), 'id');
13 }
14
15 protected function check($params): bool
16 {
17 $item = $params['item'] ?? null;
18 if ($item instanceof StoreDocumentElement)
19 {
20 $params['value'] = $item->getStoreIds();
21 }
22
23 return parent::check($params);
24 }
25}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения template.php:799