Свойство | Тип | Описание | |
---|---|---|---|
$recommendedReasonPhrases | array | Recommended Reason Phrases |
Метод | Описание | |
---|---|---|
afterExecuteRoute ( $dispatcher ) | ||
cors ( string $allowCredentials = 'true', string $allowMethods = 'GET, POST, PUT, DELETE, OPTIONS', string $allowHeaders = null ) | handler cross domain request | |
currentUrl ( ) | ||
ignoreException ( $exception, null $messages = null, string $messageType = 'debug' ) | ||
redirectHandler ( null $defaultRedirect = null, null $redirectType = null, boolean $securityCheck = false ) : Phalcon\Http\ResponseInterface | ||
showErrorMessage ( $code, $message, string $messageType = 'error' ) | ||
showErrorMessageAsJson ( $code, $message ) : Phalcon\Http\ResponseInterface | ||
showException ( $exception, null $messages = null, string $messageType = 'error' ) | ||
showExceptionAsJson ( $exception, $messages = null ) | ||
showInvalidMessages ( Phalcon\Forms\Form $form, string $messageType = 'warning' ) | ||
showInvalidMessagesAsJson ( Phalcon\Forms\Form $form, string $messageType = 'warning' ) : Phalcon\Http\ResponseInterface | ||
showModelMessages ( Phalcon\Mvc\Model $model, string $messageType = 'warning' ) | ||
showModelMessagesAsJson ( Phalcon\Mvc\Model $model, string $messageType = 'warning' ) | ||
showResponseAsJson ( $object, integer $code = 200 ) : Phalcon\Http\ResponseInterface |
public ignoreException ( $exception, null $messages = null, string $messageType = 'debug' ) | ||
$exception | ||
$messages | null | |
$messageType | string |
public showErrorMessage ( $code, $message, string $messageType = 'error' ) | ||
$code | ||
$message | ||
$messageType | string |
public showErrorMessageAsJson ( $code, $message ) : Phalcon\Http\ResponseInterface | ||
$code | ||
$message | ||
Результат | Phalcon\Http\ResponseInterface |
public showException ( $exception, null $messages = null, string $messageType = 'error' ) | ||
$exception | ||
$messages | null | |
$messageType | string |
public showInvalidMessages ( Phalcon\Forms\Form $form, string $messageType = 'warning' ) | ||
$form | Phalcon\Forms\Form | |
$messageType | string |
public showInvalidMessagesAsJson ( Phalcon\Forms\Form $form, string $messageType = 'warning' ) : Phalcon\Http\ResponseInterface | ||
$form | Phalcon\Forms\Form | |
$messageType | string | |
Результат | Phalcon\Http\ResponseInterface |
public showModelMessages ( Phalcon\Mvc\Model $model, string $messageType = 'warning' ) | ||
$model | Phalcon\Mvc\Model | |
$messageType | string |
public showModelMessagesAsJson ( Phalcon\Mvc\Model $model, string $messageType = 'warning' ) | ||
$model | Phalcon\Mvc\Model | |
$messageType | string |
public showResponseAsJson ( $object, integer $code = 200 ) : Phalcon\Http\ResponseInterface | ||
$object | ||
$code | integer | |
Результат | Phalcon\Http\ResponseInterface |
protected array $recommendedReasonPhrases | ||
Результат | array |