Открытые члены | |
__construct (Response $response) | |
onFlush () | |
toText () | |
addError ($message, $code=null) | |
addPermissionError ($message=null) | |
getErrorCollection () | |
Открытые статические члены | |
static | create (Response $response, $type) |
Открытые атрибуты | |
const | TYPE_JSON = 'json' |
const | TYPE_HTML = 'html' |
Защищенные данные | |
$errors | |
$response | |
См. определение в файле content.php строка 20
__construct | ( | Response | $response | ) |
Answer constructor.
Response | $response | Response. |
См. определение в файле content.php строка 48
addError | ( | $message, | |
$code = null ) |
$message | ||
null | $code |
См. определение в файле content.php строка 71
addPermissionError | ( | $message = null | ) |
string | null | $message | Message. |
См. определение в файле content.php строка 78
|
static |
См. определение в файле content.php строка 31
getErrorCollection | ( | ) |
См. определение в файле content.php строка 91
onFlush | ( | ) |
|
abstract |
Переопределяется в ContentHtml.
|
protected |
См. определение в файле content.php строка 26
|
protected |
См. определение в файле content.php строка 29
const TYPE_HTML = 'html' |
См. определение в файле content.php строка 23
const TYPE_JSON = 'json' |
См. определение в файле content.php строка 22