Kohana_404_Exception
extends Kohana_Exception
in package
Creates a Page Not Found exception.
Table of Contents
Properties
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
$id
protected
mixed
$id
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
stringgetTranslation()
Fetch the translation args.
public
getTranslation() : string
Return values
stringsendHeaders()
Sends "File Not Found" headers, to emulate server behavior.
public
sendHeaders() : void