mckaygerhard
be6445a6ae
* provide minimal instruction to start to work, adn minimal README also * fix guachi libraries to work with php8 also * fix the script to start a module, move or put missing files into docs as examples * send real http code, specially on 404 response if controllers are not present or error * fix index controller and not found logic model * provide default index and default ini configuration files
26 lines
627 B
PHP
26 lines
627 B
PHP
<?php
|
|
/*
|
|
____ _ _
|
|
/ ___|_ _ __ _ ___| |__ (_)
|
|
| | _| | | |/ _` |/ __| '_ \| |
|
|
| |_| | |_| | (_| | (__| | | | |
|
|
\____|\__,_|\__,_|\___|_| |_|_|
|
|
Copyright (c) 2014 Díaz Víctor aka (Máster Vitronic)
|
|
Copyright (c) 2018 Díaz Víctor aka (Máster Vitronic)
|
|
*/
|
|
class XXX_model extends model {
|
|
private $sql;
|
|
private $err;
|
|
public function notFound() {
|
|
$this->borrow('notFound')->show();
|
|
}
|
|
public function show() {
|
|
$this->save();
|
|
}
|
|
public function save() {
|
|
print 'Hola Mundo!';
|
|
}
|
|
private function save_ok() {
|
|
}
|
|
}
|