1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
shopsitescontroller.php
См. документацию.
1<?php
2
3namespace Bitrix\Sale;
4
5abstract class ShopSitesController
6{
7 public static function getShops(): array
8 {
9 static $shops = null;
10 if (is_array($shops))
11 {
12 return $shops;
13 }
14
15 $shops = [];
17 'select' => ['LID', 'NAME', 'SORT'],
18 'order' => ['SORT' => 'ASC'],
19 'cache' => ['ttl' => 86400],
20 ]);
21 while ($site = $siteIterator->fetch())
22 {
23 $saleSite = \Bitrix\Main\Config\Option::get('sale', 'SHOP_SITE_'.$site['LID']);
24 if ($site['LID'] === $saleSite)
25 {
26 $shops[] = $site;
27 }
28 }
29
30 return $shops;
31 }
32}
static get($moduleId, $name, $default="", $siteId=false)
Определения option.php:30
static getList(array $parameters=array())
Определения datamanager.php:431
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$siteIterator
Определения options.php:48
$site
Определения yandex_run.php:614