HTTP
class HTTP extends CMS
Класс для генерации HTTP ошибок
Constants
UNKNOWN |
|
INVALID_PARAMS |
|
CAT_EXISTS |
|
CAT_PHYSICAL_EXISTS |
|
MATERIAL_NOT_FOUND |
|
USER_NOT_FOUND |
|
INVALID_PASSWORD |
|
AUTHORIZATION_FAILED |
|
INVALID_EMAIL |
|
SQL |
|
USER_EXISTS |
|
PASSWORDS_DOESNT_MATCH |
|
SERVER_NOT_FOUND |
|
TYPE_EXISTS |
|
EMAIL_EXISTS |
|
CANT_CREATE |
|
MESSAGE_EXISTS |
|
NO_RIGHTS |
|
TYPE_RESERVED |
|
TYPE_FIXED |
|
FIELD_EXISTS |
|
FIELD_NOT_FOUND |
|
SERVER_LIMIT |
|
CAT_NOT_FOUND |
|
MATERIALS_LIMIT |
|
ALIAS_EXISTS |
|
ADD_FIELD |
|
EDIT_FIELD |
|
ENUM_FIELD |
|
FIELD_REQUIRED |
|
CHOOSE_CATALOG |
|
FILE_NOT_FOUND |
|
Properties
$code | from CMS |
Methods
void
__construct(int $status, string $msg)
Конструктор
string
getExtMessage()
Формирует расширенное сообщение об ошибке
int
getStatus()
HTTP status code
Details
at line 39
void
__construct(int $status, string $msg)
Конструктор
at line 61
string
getExtMessage()
Формирует расширенное сообщение об ошибке
at line 51
int
getStatus()
HTTP status code