Startpage
in package
Defines a startpage for users.
Startpages can be assigned to users to override the default startpage.
Tags
Table of Contents
- ALLOWED_TYPES = ['list', 'card', 'create', 'update']
- $pageId : mixed
- $parameters : mixed
- $type : mixed
- __construct() : mixed
- Constructor
- redirectTo() : mixed
- Performs a redirect to the Startpage.
Constants
ALLOWED_TYPES
public
mixed
ALLOWED_TYPES
= ['list', 'card', 'create', 'update']
Tags
Properties
$pageId
private
mixed
$pageId
= ""
Tags
$parameters
private
mixed
$parameters
= []
Tags
$type
private
mixed
$type
= ""
Tags
Methods
__construct()
Constructor
public
__construct(string $pageId, string $type[, array<string|int, mixed> $parameters = [] ]) : mixed
Parameters
- $pageId : string
-
Page to display.
- $type : string
-
Which specific type of the page (list, card, create, update)
- $parameters : array<string|int, mixed> = []
-
Parameters when calling this page. For example primary key values when calling a card page.
Return values
mixed —redirectTo()
Performs a redirect to the Startpage.
public
redirectTo() : mixed