Menu

## Startpage
in package

Startpage.php : 18

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

Startpage.php : 21
`public mixed ALLOWED_TYPES = ['list', 'card', 'create', 'update']`

##### Tags

internal

### Properties

#### $pageId

Startpage.php : 23
`private mixed $pageId = ""`

##### Tags

internal

#### $parameters

Startpage.php : 25
`private mixed $parameters = []`

##### Tags

internal

#### $type

Startpage.php : 24
`private mixed $type = ""`

##### Tags

internal

### Methods

#### __construct()

Startpage.php : 34

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()

Startpage.php : 56

Performs a redirect to the Startpage.

`public redirectTo() : mixed`

##### Tags

internal

##### Return values

mixed —

## Search results