CRUDKit api-doc [Developer]

Startpage
in package

Defines a startpage for users.

Startpages can be assigned to users to override the default startpage.

Tags
see
AuthHelper
see
User

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
internal

Properties

$pageId

private mixed $pageId = ""
Tags
internal

$parameters

private mixed $parameters = []
Tags
internal

$type

private mixed $type = ""
Tags
internal

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
Tags
internal
Return values
mixed

Search results