1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
kkmrepository.php
См. документацию.
1<?php
2
3namespace Bitrix\Sale\Cashbox;
4
5use Bitrix\Main\Localization\Loc;
6
13{
14 public const ATOL = 'atol';
15 public const SHTRIHM = 'shtrih-m';
16 public const EVOTOR = 'evotor';
17
21 public static function getAll(): array
22 {
23 return [
24 self::ATOL => [
25 'NAME' => Loc::getMessage('SALE_CASHBOX_KKM_ATOL')
26 ],
27 self::SHTRIHM => [
28 'NAME' => Loc::getMessage('SALE_CASHBOX_KKM_SHTRIHM')
29 ],
30 self::EVOTOR => [
31 'NAME' => Loc::getMessage('SALE_CASHBOX_KKM_EVOTOR')
32 ],
33 ];
34 }
35
40 public static function getByCode(string $code): ?array
41 {
42 $allKkm = self::getAll();
43
44 return $allKkm[$code] ?? null;
45 }
46}
static getByCode(string $code)
Определения kkmrepository.php:40
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения options.php:195