Refactor and enhance database and form operations

Significant changes have been implemented in the database operations, particularly in update and insert functions, ensuring more stable and efficient handling of queries. Form capabilities have been enhanced by adding new attributes for processing decimal steps, further improving data input methods. This update also includes considerable refactoring and security enhancements in the PDO class.
This commit is contained in:
stephan.kasdorf
2024-03-27 12:24:25 +01:00
parent a793f79798
commit e92091f235
27 changed files with 160 additions and 111 deletions

33
core/i/IController.php Executable file
View File

@@ -0,0 +1,33 @@
<?php
namespace Nibiru;
/**
* User - stephan
* Date - 24.01.17
* Time - 22:36
* @author - Stephan Kasdorf
* @category - [PLEASE SPECIFIY]
* @license - BSD License
*/
interface IController
{
const START_CONTROLLER_NAME = "index";
const SESSION_ACTIVE = 'SESSION ACTIVE';
const SESSION_DISABLED = 'SESSION DISABLED';
const SESSION_KEY_NOT_FOUND = 'KEY NOT FOUND';
const SESSION_KEY_VALUE_NOT_FOUND = 'KEY VALUE NOT FOUND';
/**
* This should be part of any extended controller
* class in order to implement a page structure
* @return array
*/
public function pageAction();
/**
* This is the part where you can add titles to
* your page navigation.
*/
public function navigationAction();
}