1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
ParamError.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\V2\Message\Param;
4
5
use Bitrix\Im\V2\Error;
6
use Bitrix\Main\Localization\Loc;
7
8
class
ParamError
extends
Error
9
{
10
public
const
ATTACH_ERROR
=
'PARAM_ATTACH_ERROR'
;
11
public
const
MENU_ERROR
=
'PARAM_MENU_ERROR'
;
12
public
const
KEYBOARD_ERROR
=
'PARAM_KEYBOARD_ERROR'
;
13
14
protected
function
loadErrorMessage
(
$code
, $replacements): string
15
{
16
return
Loc::getMessage(
"ERROR_PARAM_{$code}"
, $replacements) ?:
''
;
17
}
18
19
protected
function
loadErrorDescription
(
$code
, $replacements): string
20
{
21
return
Loc::getMessage(
"ERROR_PARAM_{$code}_DESC"
, $replacements) ?:
''
;
22
}
23
}
Bitrix\Im\V2\Message\Param\ParamError
Определения
ParamError.php:9
Bitrix\Im\V2\Message\Param\ParamError\ATTACH_ERROR
const ATTACH_ERROR
Определения
ParamError.php:10
Bitrix\Im\V2\Message\Param\ParamError\KEYBOARD_ERROR
const KEYBOARD_ERROR
Определения
ParamError.php:12
Bitrix\Im\V2\Message\Param\ParamError\loadErrorMessage
loadErrorMessage($code, $replacements)
Определения
ParamError.php:14
Bitrix\Im\V2\Message\Param\ParamError\loadErrorDescription
loadErrorDescription($code, $replacements)
Определения
ParamError.php:19
Bitrix\Im\V2\Message\Param\ParamError\MENU_ERROR
const MENU_ERROR
Определения
ParamError.php:11
Bitrix\Main\Error
Определения
error.php:15
Bitrix\Main\Error\$code
$code
Определения
error.php:17
bitrix
modules
im
lib
V2
Message
Param
ParamError.php
Создано системой
1.14.0