1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
kkmrepository.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sale\Cashbox;
4
5
use Bitrix\Main\Localization\Loc;
6
12
class
KkmRepository
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
}
Bitrix\Sale\Cashbox\KkmRepository
Определения
kkmrepository.php:13
Bitrix\Sale\Cashbox\KkmRepository\SHTRIHM
const SHTRIHM
Определения
kkmrepository.php:15
Bitrix\Sale\Cashbox\KkmRepository\EVOTOR
const EVOTOR
Определения
kkmrepository.php:16
Bitrix\Sale\Cashbox\KkmRepository\getByCode
static getByCode(string $code)
Определения
kkmrepository.php:40
Bitrix\Sale\Cashbox\KkmRepository\getAll
static getAll()
Определения
kkmrepository.php:21
Bitrix\Sale\Cashbox\KkmRepository\ATOL
const ATOL
Определения
kkmrepository.php:14
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$code
if(!is_null($config))($config as $configItem)(! $configItem->isVisible()) $code
Определения
options.php:195
bitrix
modules
sale
lib
cashbox
kkmrepository.php
Создано системой
1.14.0