Documentation

FormViewController extends PageViewController
in package

AbstractYes

Table of Contents

Properties

$custom_scripts  : mixed
$footer_raw  : mixed
$headers  : mixed
$modals  : mixed
$onSubmitResult  : mixed
$pageVars  : mixed

Methods

accessPermission()  : string|null
Returns the required access permission for the view controller or null if there is no restriction.
form()  : HtmlForm
formTemplate()  : string|null
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.
isEditing()  : bool
onSubmit()  : bool
pageContent()  : string|null
pageTemplate()  : string
render()  : string|null
Renders the page as HTML to display it.
requireModal()  : mixed
title()  : string|null
Returns the page title of the view controller.

Properties

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|null

formTemplate()

public abstract formTemplate() : string|null
Return values
string|null

getCustomVars()

public getCustomVars() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|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 abstract id() : string|null
Return values
string|null

render()

Renders the page as HTML to display it.

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

requireModal()

public requireModal(mixed $modalTemplate) : mixed
Parameters
$modalTemplate : mixed

title()

Returns the page title of the view controller.

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

        
On this page

Search results