\Alddesign\CrudkitCrudkitServiceProvider

This class is used to create your application.

Populate the following methods to build your application:

defineTables()

defineRelations()

definePages()

defineUsers()

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
defineTables()
defineRelations()
definePages()
defineMenuLinks()
defineUsers()
$tables
$pages
$users
$authHelper
$pageStore
N/A

Properties

Methods

defineTables()

defineTables() : array<mixed,\Alddesign\Crudkit\Classes\TableDescriptor>

Populate this methods to define the tables plus columns used by your application.

Returns

array<mixed,\Alddesign\Crudkit\Classes\TableDescriptor>

defineRelations()

defineRelations() 

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

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

definePages()

definePages() : array<mixed,\Alddesign\Crudkit\Classes\PageDescriptor>

Populate this methods to define the pages (views) according to the already definded tables.

Returns

array<mixed,\Alddesign\Crudkit\Classes\PageDescriptor>

defineMenuLinks()

defineMenuLinks() 

Add additional items to the menu and set icons for categories

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

defineUsers()

defineUsers() : \Alddesign\Crudkit\Classes\AuthHelper

Populate this methods to define the Logins for this application.

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

Returns

\Alddesign\Crudkit\Classes\AuthHelper