Documentation

ErrorViewController
in package
implements IViewController

Table of Contents

Interfaces

IViewController
Interface IViewController

Properties

$errorCode  : mixed

Methods

__construct()  : mixed
accessPermission()  : string|null
Returns the required access permission for the view controller or null if there is no restriction.
hasAccess()  : bool
Returns whether the User has Access to the Page (checks the AccessPermission)
id()  : string|null
Returns the ID of the view controller.
render()  : string|null
Renders the page as HTML to display it.
title()  : string|null
Returns the page title of the view controller.

Properties

Methods

__construct()

public __construct(mixed $errorCode) : mixed
Parameters
$errorCode : mixed

accessPermission()

Returns the required access permission for the view controller or null if there is no restriction.

public accessPermission() : string|null
Return values
string|null

hasAccess()

Returns whether the User has Access to the Page (checks the AccessPermission)

public hasAccess(User|null $u) : bool
Parameters
$u : User|null

User to checkup

Return values
bool

id()

Returns the ID of the view controller.

public id() : string|null
Return values
string|null

render()

Renders the page as HTML to display it.

public render() : string|null
Return values
string|null

title()

Returns the page title of the view controller.

public title() : string|null
Return values
string|null

        
On this page

Search results