Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
basicerror.php
1
<?php
2
namespace
Bitrix\Im
;
3
4
class
BasicError
5
{
6
public
$method
=
''
;
7
public
$code
=
''
;
8
public
$msg
=
''
;
9
public
$params
= Array();
10
public
$error
=
false
;
11
12
public
function
__construct
(
$method
,
$code
,
$msg
,
$params
= Array())
13
{
14
if
(
$method
!=
null
)
15
{
16
$this->method =
$method
;
17
$this->code =
$code
;
18
19
if
(is_array(
$msg
))
20
$this->msg = implode(
"; "
,
$msg
);
21
else
22
$this->msg =
$msg
;
23
24
$this->params =
$params
;
25
26
$this->error =
true
;
27
}
28
}
29
}
Bitrix\Im\BasicError
Definition
basicerror.php:5
Bitrix\Im\BasicError\$method
$method
Definition
basicerror.php:6
Bitrix\Im\BasicError\$code
$code
Definition
basicerror.php:7
Bitrix\Im\BasicError\$msg
$msg
Definition
basicerror.php:8
Bitrix\Im\BasicError\__construct
__construct($method, $code, $msg, $params=Array())
Definition
basicerror.php:12
Bitrix\Im\BasicError\$error
$error
Definition
basicerror.php:10
Bitrix\Im\BasicError\$params
$params
Definition
basicerror.php:9
Bitrix\Im
modules
im
lib
basicerror.php
Создано системой
1.10.0