2024-04-09 17:53:01 -04:00
|
|
|
<?php
|
|
|
|
/**!
|
first structure working api - stil no database neither filesystem data
* separation of "notFound" module into one for api and one for Views
if there is a wrong url will show `notFoundApi` module results
otherwise will show the borrow of `notFound`
* provide new module for storage, under `api/v1/store` route,
it receives 3 arguments, will check nature of variables and
store if those are valid, the API will store a tree CTE data!
* provide enhanced listing under `api/v1/lists` route, that
optionally receives one argument, if present will try to
retrieve it data with filtering, otherwise will retreive all
* documents te layer oif the database used on the example, cos is a CTE
recursive emulated layer table.
* documents into `DEVEL.md` the separate development from quick deploy
* tune up the `.env` file, only use minimal variables, remove non usefully
* use 0 spaces into the editors for the init config files on `.editorconfig`
* by defaults use sqlite3 databe in config file
* privide minimal test using php code
2024-04-17 22:44:37 -04:00
|
|
|
* @package minenux-skindb-webdb
|
2024-04-09 17:53:01 -04:00
|
|
|
* @filename lists.php controller
|
|
|
|
* @route >lists
|
|
|
|
* @version 1.0
|
|
|
|
*/
|
|
|
|
class lists_controller extends controller {
|
|
|
|
|
|
|
|
public function execute($post = null) {
|
|
|
|
$this->model->show();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|