CRUDKit api-doc [Developer]

CrudkitServiceProvider extends ServiceProvider
in package

This class is used to create your application.

Populate the following methods to build your application:

defineTables()

defineRelations()

definePages()

defineUsers()

Table of Contents

$authHelper  : AuthHelper
$pages  : array<string|int, PageDescriptor>
$pageStore  : PageStore
$tables  : array<string|int, TableDescriptor>
$users  : array<string|int, User>
defineMenuLinks()  : mixed
Add additional items to the menu and set icons for categories
definePages()  : array<string|int, PageDescriptor>
Populate this methods to define the pages (views) according to the already definded tables.
defineRelations()  : mixed
Populate this methods to define table relations (mostly many to one).
defineTables()  : array<string|int, TableDescriptor>
Populate this methods to define the tables plus columns used by your application.
defineUsers()  : AuthHelper
Populate this methods to define the Logins for this application.

Properties

Methods

Add additional items to the menu and set icons for categories

private defineMenuLinks() : mixed

Use $this->pageStore->addMenuLink(...);

Tags
see
PageStore
Return values
mixed

defineRelations()

Populate this methods to define table relations (mostly many to one).

private defineRelations() : mixed

Use "$this->tables" which you have defined in method defineTables().

Tags
see
TableDescriptor
Return values
mixed

defineUsers()

Populate this methods to define the Logins for this application.

private defineUsers() : AuthHelper

Optional: define RestrictionSet and/or Startpage for each User. Default login (administrator) is definded in crudkit config.

Tags
see
CrudkitUser
see
Startpage
see
RestrictionSet
Return values
AuthHelper

Search results