TableViewController
extends PageViewController
in package
AbstractYes
Table of Contents
Properties
- $custom_scripts : mixed
- $footer_raw : mixed
- $headers : mixed
- $modals : mixed
- $pageVars : mixed
Methods
- accessPermission() : string|null
- Returns the required access permission for the view controller or null if there is no restriction.
- getCustomVars() : array<string|int, mixed>|null
- hasAccess() : bool
- Returns whether the User has Access to the Page (checks the AccessPermission)
- id() : string|null
- Returns the ID of the view controller.
- pageContent() : string|null
- pageTemplate() : string
- render() : string|null
- Renders the page as HTML to display it.
- requireModal() : mixed
- table() : HtmlTable
- tableTemplate() : string|null
- title() : string|null
- Returns the page title of the view controller.
Properties
$custom_scripts
protected
mixed
$custom_scripts
$footer_raw
protected
mixed
$footer_raw
$headers
protected
mixed
$headers
$modals
protected
mixed
$modals
$pageVars
protected
mixed
$pageVars
Methods
accessPermission()
Returns the required access permission for the view controller or null if there is no restriction.
public
abstract accessPermission() : string|null
Return values
string|nullgetCustomVars()
public
getCustomVars() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullhasAccess()
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
boolid()
Returns the ID of the view controller.
public
abstract id() : string|null
Return values
string|nullpageContent()
public
pageContent() : string|null
Return values
string|nullpageTemplate()
public
pageTemplate() : string
Return values
stringrender()
Renders the page as HTML to display it.
public
render() : string|null
Return values
string|nullrequireModal()
public
requireModal(mixed $modalTemplate) : mixed
Parameters
- $modalTemplate : mixed
table()
public
abstract table() : HtmlTable
Return values
HtmlTabletableTemplate()
public
abstract tableTemplate() : string|null
Return values
string|nulltitle()
Returns the page title of the view controller.
public
abstract title() : string|null