PHP Класс yii\web\GoneHttpException

Throw a GoneHttpException when a user requests a resource that no longer exists at the requested url. For example, after a record is deleted, future requests for that record should return a 410 GoneHttpException instead of a 404 NotFoundHttpException.
С версии: 2.0
Автор: Dan Schmidt ([email protected])
Наследование: extends HttpException
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $message = null, integer $code, Exception $previous = null ) Constructor.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $message = null, integer $code, Exception $previous = null )
$message string error message
$code integer error code
$previous Exception The previous exception used for the exception chaining.