Documentation

Kohana_404_Exception extends Kohana_Exception
in package

Creates a Page Not Found exception.

Table of Contents

Properties

$code  : mixed
$header  : mixed
$id  : mixed

Methods

__construct()  : mixed
Set internal properties.
__toString()  : string
Magic method for converting an object to a string.
getTemplate()  : string
Fetch the template name.
getTranslation()  : string
Fetch the translation args.
sendHeaders()  : void
Sends "File Not Found" headers, to emulate server behavior.

Properties

$code

protected mixed $code = \E_PAGE_NOT_FOUND

$header

protected mixed $header = \FALSE

Methods

__construct()

Set internal properties.

public __construct([string|false $page = false ]) : mixed
Parameters
$page : string|false = false

URL of page

__toString()

Magic method for converting an object to a string.

public __toString() : string
Return values
string —

i18n message

getTemplate()

Fetch the template name.

public getTemplate() : string
Return values
string

getTranslation()

Fetch the translation args.

public getTranslation() : string
Return values
string

sendHeaders()

Sends "File Not Found" headers, to emulate server behavior.

public sendHeaders() : void
On this page

Search results