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

25
core/i/IView.php Executable file
View File

@@ -0,0 +1,25 @@
<?php
namespace Nibiru;
/**
* User - stephan
* Date - 24.01.17
* Time - 22:41
* @author - Stephan Kasdorf
* @category - [PLEASE SPECIFIY]
* @license - BSD License
*/
interface IView
{
const NIBIRU_SETTINGS = "SETTINGS";
const NIBIRU_URL = "pageurl";
const NIBIRU_ERROR = "ERROR";
const NIBIRU_SECURITY = "SECURITY";
const NIBIRU_ROUTING = "ROUTING";
const NIBIRU_EMAIL = "EMAIL";
const NIBIRU_FILE_END = ".tpl";
const NIBIRU_CONTENT_TYPE_JSON = "Content-Type: application/json";
const NIBIRU_CONTENT_TYPE_CONNECTION = "Connection: keep-alive";
const NIBIRU_CONTENT_RESPONSE_OK = "HTTP/1.1 200 OK";
const NIBIRU_CONTENT_ENCODING = "Accept-Encoding: gzip, deflate";
const NIBIRU_CONTENT_TRANSFER_ENCODING = "Transfer-Encoding: {encoding}";
}