-
Notifications
You must be signed in to change notification settings - Fork 5
SCRUD
SCRUD require API library to work.
This library is managed by the ScrudController.
Once activated in config and allowed in ACL, this controller provide some access urls.
The root list all the models and models assocation having hasOne relation (mean foreign key unique). We dont have this type of relation in our default database.

On click on a table link, it will open a new tab to search on it.
Url model : http://localhost/scrud/[model]+[modeln]/search
http://localhost/scrud/PermissionType/search

On this page you can :
- Filter results adding a filter on a column, autocompleted like%
- Change the sorting
- Remove columns (display only)
- Delete rows, checking all wanted and click on the trash to valid
- Edit a row clicking on it
- Open new tab to create a row
On click on the + button, it wiil open a new tab to create a row.
Url model : http://localhost/scrud/[model]+[modeln]/create
http://localhost/scrud/PermissionType/create

On click on the row, it will open a new tab to edit it.
Url model : http://localhost/scrud/[model]+[modeln]/read?id=[idModel]
http://localhost/scrud/PermissionType/read?id=1

In the search page, check all row you want to delete and click on the trash button to valid.
