tp_dhu a852dccd8b - added interface - for CRUD, ensures all methods are present and aligned.
- added trait for checking authorisation with redirect stored in session to return - shows which controllers requires auth, adds check function
2025-02-17 01:21:16 +00:00

25 lines
403 B
PHP

<?php
interface CRUD {
// list all
public function index($f3);
// show form
public function createForm($f3);
// handle POST
public function create($f3);
// show single
public function view($f3);
// show edit form
public function editForm($f3);
// handle post
public function update($f3);
}