$method
-$method :+
$method : string
diff --git a/Tina4/DataSQLite3.php b/Tina4/DataSQLite3.php index ae67c949..21207819 100644 --- a/Tina4/DataSQLite3.php +++ b/Tina4/DataSQLite3.php @@ -70,8 +70,7 @@ public function native_fetch($sql="", $noOfRecords=10, $offSet=0) { $recordCursor = $this->dbh->query($sql); $records = []; - for ($i = 0; $i < $noOfRecords; $i++ ) { - $recordArray = $recordCursor->fetchArray(SQLITE3_ASSOC); + while ($recordArray = $recordCursor->fetchArray(SQLITE3_ASSOC)) { if (!empty($recordArray)) { $records[] = (new DataRecord($recordArray)); } diff --git a/Tina4Php.php b/Tina4Php.php index 0e1c2116..5a71b296 100644 --- a/Tina4Php.php +++ b/Tina4Php.php @@ -53,9 +53,21 @@ function __construct($config = null) if (!defined("TINA4_PUT")) define("TINA4_PUT", "PUT"); if (!defined("TINA4_PATCH")) define("TINA4_PATCH", "PATCH"); if (!defined("TINA4_DELETE")) define("TINA4_DELETE", "DELETE"); + if (!defined("TINA4_DOCUMENT_ROOT")) define ("TINA4_DOCUMENT_ROOT", null); + + $debugBackTrace = debug_backtrace(); + $callerFile = $debugBackTrace[0]["file"]; //calling file /.../.../index.php + $callerDir = str_replace("index.php", "", $callerFile); + + //root of the website - $this->documentRoot = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR); + if (defined ("TINA4_DOCUMENT_ROOT") && empty(TINA4_DOCUMENT_ROOT)) { + $this->documentRoot = $callerDir; + //$this->documentRoot = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR); + } else { + $this->documentRoot = TINA4_DOCUMENT_ROOT; + } if (file_exists("Tina4Php.php")) { $this->documentRoot = realpath(dirname(__FILE__)); @@ -65,7 +77,7 @@ function __construct($config = null) //root of tina4 $this->webRoot = realpath(dirname(__FILE__)); - error_log("TINA4: web root " . $this->webRoot); + error_log("TINA4: web path " . $this->webRoot); //check for composer defines if (file_exists($this->webRoot . "/vendor/autoload.php")) { diff --git a/documentation/classes/Tina4.Any.html b/documentation/classes/Tina4.Any.html index f8db021e..9028e25b 100644 --- a/documentation/classes/Tina4.Any.html +++ b/documentation/classes/Tina4.Any.html @@ -114,12 +114,12 @@
The Any route intercepts any type of call that can be made to the web server
+Class Any Sets the $method variable in Class Route to ANY using the definition in Class Tina4Php +The Any route intercepts any type of call that can be made to the web server e.g. Any::add()
@@ -300,13 +303,13 @@$method :+
$method : string
exec()-
+
exec() : array|mixed+
Sets database execute from currently used database
- +getLastId()-
+
getLastId() : boolean+
Sets database get last inserted row's id from currently used database
- +fetch(string $sql = "", integer $noOfRecords = 10, integer $offSet) : \Tina4\DataResult+
fetch(string $sql = "", integer $noOfRecords = 10, integer $offSet) : array
Fetch a result set of DataResult
@@ -918,25 +938,36 @@SQL Query to fetch wanted data
Number of records wanted to return
Row offset for fetched data
DataResult Array of query result data
-<?php +//Get already defined database connections +global $DBA; + +$sql = "select * from example"; + +//fetch() accepts 3 parameters: SQLQuery, noOfRecords and offSet +$data = $DBA->fetch($sql, 1000);+
commit()-
+
commit() : mixed+
Sets database commit from currently used database
- +error()-
+
error() : boolean+
Sets database errors from currently used database
- ++
Class DataError Used to get and return an error
@@ -228,6 +230,7 @@__construct( $errorCode = "", $errorMessage = "")-
+
__construct(string $errorCode = "", string $errorMessage = "")+
DataError constructor.
+ | string | $errorCode | -+ | Code of error |
+ | string | $errorMessage | -+ | Message of error |
getError()+
getError() : array
- +
Containing The code and message of the error
+ +None found |
getErrorText() : string+
+ + + + +
Contains the code and message of the error as a single string
++
Class DataField
@@ -274,7 +276,7 @@$index :+
$index : integer
$fieldName :+
$fieldName : string
$fieldAlias :+
$fieldAlias : string
$dataType :+
$dataType : integer|string
$size :+
$size : integer
$decimals :+
$decimals : integer
$alignment :+
$alignment : integer
__construct( $index, $fieldName, $fieldAlias, $dataType, $size, $decimals, $alignment = DATA_ALIGN_LEFT)-
+
__construct(integer $index, string $fieldName, string $fieldAlias, string $dataType, integer $size, integer $decimals, integer $alignment = DATA_ALIGN_LEFT)+
DataField constructor.
+ | integer | $index | -+ | Index |
+ | string | $fieldName | -+ | Field name |
+ | string | $fieldAlias | -+ | Field alias |
+ | string | $dataType | -+ | Type of data e.g. NUMERIC |
+ | integer | $size | -+ | Size of data |
+ | integer | $decimals | -+ | Number of decimals |
+ | integer | $alignment | -+ | Whether the data is aligned left (0) or right (1) |
getFieldName( $case = "")
- +
getFieldName(string $case = "") : string
+ Gets the field name
+ | string | $case |
getFieldAlias( $case = "")
- +
getFieldAlias(string $case = "") : string
+ Gets the field alias
+ | string | $case |
+
Class DataBase Instantiates all common database procedures
@@ -330,7 +332,7 @@$databaseName :+
$databaseName : string
$port :+
$port : integer
$hostName :+
$hostName : string
$username :+
$username : string
$password :+
$password : string
$dateFormat :+
$dateFormat : string
$fetchLimit :+
$fetchLimit : integer
native_open()-
+
native_open() : boolean+
Abstract database open connection
- +native_close()-
+
native_close() : boolean+
Abstract database close connection
- +native_exec()-
+
native_exec() : boolean+
Abstract database execute
- +native_error()-
+
native_error() : boolean+
Abstract database error return
- +native_getLastId()-
+
native_getLastId() : boolean+
Abstract get last inserted row's id from database
- +native_fetch( $sql = "", $noOfRecords = 10, $offSet)-
+
native_fetch( $sql = "", $noOfRecords = 10, $offSet) : boolean+
Abstract database fetch query
Database user username
Database user password
Format of date
close()-
+
Sets database close connection from currently used database
@@ -878,13 +892,15 @@getDataTablesFilter()-
+
getDataTablesFilter() : array+
Gets data tables filter
- +exec()-
+
exec() : array|mixed+
Sets database execute from currently used database
- +getLastId()-
+
getLastId() : boolean+
Sets database get last inserted row's id from currently used database
- +fetch(string $sql = "", integer $noOfRecords = 10, integer $offSet) : \Tina4\DataResult+
fetch(string $sql = "", integer $noOfRecords = 10, integer $offSet) : array
Fetch a result set of DataResult
@@ -971,25 +991,36 @@SQL Query to fetch wanted data
Number of records wanted to return
Row offset for fetched data
DataResult Array of query result data
-<?php +//Get already defined database connections +global $DBA; + +$sql = "select * from example"; + +//fetch() accepts 3 parameters: SQLQuery, noOfRecords and offSet +$data = $DBA->fetch($sql, 1000);+
commit()-
+
commit() : mixed+
Sets database commit from currently used database
- +error()-
+
error() : boolean+
Sets database errors from currently used database
- ++
Class DataMySQL Instantiates database functions
@@ -230,7 +232,7 @@$databaseName :+
$databaseName : string
$port :+
$port : integer
$hostName :+
$hostName : string
$username :+
$username : string
$password :+
$password : string
$dateFormat :+
$dateFormat : string
$fetchLimit :+
$fetchLimit : integer
native_open()-
+
native_open() : boolean|void+
Opens database connection
+native_close()-
+
native_close() : boolean|void+
Closes database connection
- +native_exec()-
+
native_exec() : array|boolean+
Executes
- +native_error()-
+
native_error() : boolean|\Tina4\DataError+
Gets MySQL errors
- +native_getLastId()-
+
native_getLastId() : boolean+
Gets the last inserted row's ID from database
- +None found |
+ | string | $sql | -+ | SQL Query |
+ | integer | $noOfRecords | -+ | Number of records requested |
+ | integer | $offSet | -+ | Record offset |
Database user username
Database user password
Format of date
close()-
+
Sets database close connection from currently used database
@@ -878,13 +895,15 @@getDataTablesFilter()-
+
getDataTablesFilter() : array+
Gets data tables filter
- +exec()-
+
exec() : array|mixed+
Sets database execute from currently used database
- +getLastId()-
+
getLastId() : boolean+
Sets database get last inserted row's id from currently used database
- +fetch(string $sql = "", integer $noOfRecords = 10, integer $offSet) : \Tina4\DataResult+
fetch(string $sql = "", integer $noOfRecords = 10, integer $offSet) : array
Fetch a result set of DataResult
@@ -971,25 +994,36 @@SQL Query to fetch wanted data
Number of records wanted to return
Row offset for fetched data
DataResult Array of query result data
-<?php +//Get already defined database connections +global $DBA; + +$sql = "select * from example"; + +//fetch() accepts 3 parameters: SQLQuery, noOfRecords and offSet +$data = $DBA->fetch($sql, 1000);+
commit()-
+
commit() : mixed+
Sets database commit from currently used database
- +error()-
+
error() : boolean+
Sets database errors from currently used database
- +native_commit()-
+
Commits
@@ -1136,7 +1174,7 @@+
Class DataRecord
@@ -270,7 +272,7 @@__construct( $record)
- +
__construct(array $record)
+ DataRecord constructor Converts array to object
+ | array | $record | -+ | Array of records |
asObject()-
+
asObject() : object+
Converts array to object
- ++
Class DataResult Result of query
@@ -275,7 +277,7 @@$records :+
$records : resource
$fields :+
$fields : array
$noOfRecords :+
$noOfRecords : integer
$offSet :+
$offSet : integer
$error :+
$error : \Tina4\DataError
__construct( $records, $fields, $noOfRecords, integer $offSet, $error = null)+
__construct(resource $records, array $fields, integer $noOfRecords, integer $offSet, \Tina4\DataError $error = null)
DataResult constructor.
+ | resource | $records | -+ | records returned from query |
+ | array | $fields | -+ | Fields in the table and their types |
+ | integer | $noOfRecords | -+ | Number of records |
integer | $offSet | -+ | Which row to start recording |
|
+ | \Tina4\DataError | $error | -+ | Database error |
records() : array|null-
+
Converts returned results as array of objects
@@ -562,7 +564,18 @@<?php +//Get already defined database connections +global $DBA; + +$sql = "select * from example"; + +//fetch() accepts 3 parameters: SQLQuery, noOfRecords and offSet +//records() works with fetch to convert the array of data results into an array of objects +$data = $DBA->fetch($sql, 1000)->records();+
__toString()-
+
__toString() : false|string+
Converts array of records to array of objects
- +getError()-
+
getError() : mixed+
Gets the error from the result if the query failed
- ++
Class DataBase Instantiates all common database procedures
@@ -230,7 +232,7 @@$databaseName :+
$databaseName : string
$port :+
$port : integer
$hostName :+
$hostName : string
$username :+
$username : string
$password :+
$password : string
$dateFormat :+
$dateFormat : string
$fetchLimit :+
$fetchLimit : integer
native_open()-
+
native_open() : boolean+
Abstract database open connection
- +native_close()-
+
native_close() : boolean+
Abstract database close connection
- +native_exec()-
+
native_exec() : boolean+
Abstract database execute
- +native_error()-
+
native_error() : boolean+
Abstract database error return
- +native_getLastId()-
+
native_getLastId() : boolean+
Abstract get last inserted row's id from database
- +Database user username
Database user password
Format of date
close()-
+
Sets database close connection from currently used database
@@ -878,13 +890,15 @@getDataTablesFilter()-
+
getDataTablesFilter() : array+
Gets data tables filter
- +exec()-
+
exec() : array|mixed+
Sets database execute from currently used database
- +getLastId()-
+
getLastId() : boolean+
Sets database get last inserted row's id from currently used database
- +fetch(string $sql = "", integer $noOfRecords = 10, integer $offSet) : \Tina4\DataResult+
fetch(string $sql = "", integer $noOfRecords = 10, integer $offSet) : array
Fetch a result set of DataResult
@@ -971,25 +989,36 @@SQL Query to fetch wanted data
Number of records wanted to return
Row offset for fetched data
DataResult Array of query result data
-<?php +//Get already defined database connections +global $DBA; + +$sql = "select * from example"; + +//fetch() accepts 3 parameters: SQLQuery, noOfRecords and offSet +$data = $DBA->fetch($sql, 1000);+
commit()-
+
commit() : mixed+
Sets database commit from currently used database
- +error()-
+
error() : boolean+
Sets database errors from currently used database
- ++
Class Delete Sets the $method variable in Class Route to DELETE using the definition in Class Tina4Php +Delete route intercepts delete calls made to the web server e.g. Delete::add()
- +<?php + +use Tina4\Delete; + +Delete::add("/example-delete-call/{parsedURLVariable}", function ($parsedURLVariable, $response, $request) { + + if ($parsedURLVariable = 1) { + //Do something + } else { + //Do something else + } +});+
$method :+
$method : string
add( $routePath, $function)+
add(string $routePath, resource $function)
Add a route to be called on the web server
The routePath can contain variables or in-line parameters encapsulated with {} e.g. "/test/{number}"
+ | string | $routePath | A valid html route |
+ | resource | $function | An anonymous function to handle the route called, has params based on inline params and $response, $request params by default |
sendText( $mobileno, string $message = "", string $countryPrefix = "01")+
sendText(string $mobileno, string $message = "", string $countryPrefix = "01")
Alias of send SMS
+ | string | $mobileno | -+ | Mobile contact number |
string | $message | -+ | Message to be sent |
|
string | $countryPrefix | -+ | Prefix to determine country of origin |
Mobile contact number
Message to be sent
Prefix to determine country of origin e.g. 1 - america, 27 - south africa
1 - america, 27 - south africa
Prefix to determine country of origin e.g. 1 - america, 27 - south africa
+
Class Get Sets the $method variable in Class Route to GET using the definition in Class Tina4Php +Get route intercepts get calls made to the web server e.g. Get::add()
- +<?php + +use Tina4\Get; + +Get::add("/example-url", function ($response, $request) { + return $response ("OK" . $request, 200); +});+
$method :+
$method : string
add( $routePath, $function)+
add(string $routePath, resource $function)
Add a route to be called on the web server
The routePath can contain variables or in-line parameters encapsulated with {} e.g. "/test/{number}"
+ | string | $routePath | A valid html route |
||
+ | resource | $function | An anonymous function to handle the route called, has params based on inline params and $response, $request params by default |
+ example + | ++ + | +
---|
$fieldMapping : array+
+ + +
None found |
__construct(null $request = null, string $tableName = "", string $tableFilter = "", string $fieldMapping = "")+
__construct(null $request = null, string $tableName = "", string $fieldMapping = "", $primaryKey = "", string $tableFilter = "", $DBA = null)
ORM constructor.
@@ -409,6 +470,16 @@The name of the table that this object maps in the database
Mapping for fields in the array form ["field" => "table_field"]
A filter to limit the records when the data is fetched into the class
Mapping for fields in the array form ["field" => "table_field"]
Error on failure
<?php + +use Tina4\ORM; + +/** + * Class User Used to generate the ORM for the user table in the database + */ +class User extends ORM +{ + public $tableName = "user"; + public $primaryKey = "id"; + + public $id; + public $firstName; + public $lastName; + public $address; + public $age; + public $founderStatus; + +}+
getFieldName( $name, $fieldMapping = array()) : string+
getFieldName(string $name, array $fieldMapping = array()) : string
Gets the field mapping in the database
+ | string | $name | -+ | Name of field required |
+ | array | $fieldMapping | -+ | Array of field mapping |
Required field name from database
getObjectName( $name, $fieldMapping = array()) : string+
getObjectName(string $name) : string
Gets a proper object name for returning back data
+ | string | $name | -- |
- | $fieldMapping | -+ | Improper object name |
Proper object name
generateInsertSQL( $tableData, $tableName = "") : string+
generateInsertSQL(array $tableData, string $tableName = "") : string
Generates an insert statement
+ | array | $tableData | -+ | Array of table data |
+ | string | $tableName | -+ | Name of the table |
Error on failure
Generated insert query
generateUpdateSQL( $tableData, $filter, $tableName = "") : string+
generateUpdateSQL(array $tableData, string $filter, string $tableName = "") : string
Generates an update statement
+ | array | $tableData | -+ | Array of table data |
+ | string | $filter | -+ | The criteria of what you are searching for to update e.g. "id = 2" |
+ | string | $tableName | -+ | Name of the table |
Generated update query
generateDeleteSQL( $filter, $tableName = "") : string+
generateDeleteSQL(string $filter, string $tableName = "") : string
Generates a delete statement
+ | string | $filter | -+ | The criteria of what you are searching for to delete e.g. "id = 2" |
+ | string | $tableName | -+ | The name of the table |
Containing deletion query
Array of field mapping
Contains all table data
+ + +None found |
getRecords(integer $limit = 10, integer $offset) : \Tina4\DataRecord+
Gets records from a table using the default $DBA
+ + +integer | +$limit | +Number of rows contained in result set |
+
integer | +$offset | +The row number of where to start receiving data |
+
Error on failure
checkDBConnection()+
Checks if there is a database connection assigned to the object +If the object is not empty $DBA is instantiated
+ + + +If no database connection is assigned to the object an exception is thrown
None found |
getPrimaryCheck( $tableData) : string
+ getPrimaryCheck(array $tableData) : string
Helper function to get the filter for the primary key
+ | array | $tableData | -+ | Array of table data |
e.g. "id = ''"
getTableName( $tableName) : string|null
+ getTableName(string $tableName) : string|null
Works out the table name from the class name
+ | string | $tableName | -+ | The class name |
Returns the name of the table or null if it does not fit the if statements criteria
save( $DBA = null, string $tableName = "", array $fieldMapping = array()) : object+
save(string $tableName = "", array $fieldMapping = array()) : object
Save the data populated into the object to the provided data connection
- | $DBA | -- | |
string | $tableName | -+ | Name of the table |
array | $fieldMapping | -+ | Array of field mapping |
Error on failure
Result set
-<?php +$user = new User(); +unset($user->id); //Ensure id (Primary Key) is not set to ensure insertion +$user->firstName = "Example"; +$user->lastName = "User"; +$user->address = "Imaginary Street, South Existence, Cape Example"; +$user->age = 1 / 0; +$user->save();+
<?php +$user = new User(); +$user->id = 1; //Ensure id (Primary Key) is set to ensure update to specific data row +$user->firstName = "Updated"; +$user->lastName = "User"; +$user->address = "Imaginary Street, South Existence, Cape Example"; +$user->age = 2 / 0; +$user->save();+
<?php +$user = new User(); +unset($user->id); //Ensure id (Primary Key) is not set to ensure insertion +$user->firstName = "Example2"; +$user->lastName = "User2"; +$user->address = "Imaginary Street, South Existence, Cape Example"; +$user->age = 2 / 0; +$user->save(); + +//After inserting a new row the object's id field is filled in; allowing for creation of triggers + +if ($user->id < 10) { + $user->founderStatus = 1; + $user->save(); +}+
load( $DBA = null, string $tableName = "", array $fieldMapping = array(), string $filter = "") : boolean+
load(string $tableName = "", array $fieldMapping = array(), string $filter = "") : boolean
Loads the record from the database into the object
- | $DBA | -- | |
string | $tableName | -+ | Name of the table |
array | $fieldMapping | -+ | Array of field mapping for the table |
string | $filter | -+ | The criteria of what you are searching for to load e.g. "id = 2" |
Error on failure
True on success, false on failure to load
-<?php +//Used to load single row of data from database with the specified id (Primary Key) +$user = new User(); +$user->id = 1; +$user->load();+
delete( $DBA = null, string $tableName = "", string $fieldMapping = "") : object+
delete(string $tableName = "", string $fieldMapping = "") : object
Deletes the record from the database
- | $DBA | -- | |
string | $tableName | -+ | Name of the table |
string | $fieldMapping | -+ | Array of field mapping |
Error on failure
find( $DBA, string $filter = "", string $tableName = "", array $fieldMapping = array()) : boolean+
find(string $filter = "", string $tableName = "", array $fieldMapping = array()) : boolean
Alias of load just with different parameter order for neatness
- | $DBA | -- | |
string | $filter | @@ -934,15 +1147,20 @@ | |
string | $tableName | -+ | Name of the table |
array | $fieldMapping | -+ | Array of field mapping |
Error on failure
+
Class ParseTemplate
@@ -282,7 +284,7 @@__construct( $root, $fileName, $definedVariables = "")-
+
__construct( $root, string $fileName, string $definedVariables = "")+
ParseTemplate constructor.
Name of the file
Error on failure
parseSnippets( $content)
- +
parseSnippets( $content) : mixed
+ Parse all includes that may exist
Error on failure
parseVariables( $content)
- +
parseVariables( $content) : mixed
+ Parse all variables that might exist
parseParams( $params)
+ parseParams(string $params) : array
+ | string | $params | -+ | Parameters to be parsed |
Multidimensional array containing methods and their respective array of parameters
+callMethod( $object, $method)+
callMethod(object $object, $method) : mixed|string
+ | object | $object |
Error on failure
parseCalls( $content)
- +
parseCalls( $content) : mixed
+ Parse all variables that might exist
Error on failure
parseFile( $fileName)
+ parseFile(string $fileName) : false|mixed|string
+ | string | $fileName | -+ | Name of the file |
Error on failure
__toString()+
__toString() : string
- +
+
Class Patch Sets the $method variable in Class Route to PATCH using the definition in Class Tina4Php +Patch route intercepts patch calls made to the web server e.g. Patch::add()
@@ -266,7 +269,7 @@$method :+
$method : string
add( $routePath, $function)+
add(string $routePath, resource $function)
Add a route to be called on the web server
The routePath can contain variables or in-line parameters encapsulated with {} e.g. "/test/{number}"
+ | string | $routePath | A valid html route |
|
+ | resource | $function | An anonymous function to handle the route called, has params based on inline params and $response, $request params by default |
+ | string | $routePath | A valid html route |
|
+ | resource | $function | An anonymous function to handle the route called, has params based on inline params and $response, $request params by default |
+ | string | $routePath | A valid html route |
|
+ | resource | $function | An anonymous function to handle the route called, has params based on inline params and $response, $request params by default |
+ | string | $routePath | A valid html route |
|
+ | resource | $function | An anonymous function to handle the route called, has params based on inline params and $response, $request params by default |
+ | string | $root | -+ | Where the document root is located |
+ | string | $urlToParse | -+ | URL being parsed |
+ | string | $method | -+ | Type of method e.g. ANY, POST, DELETE, etc |
cleanURL( $url)
- +
cleanURL(string $url) : mixed
+ Clean URL by splitting string at "?" to get actual URL
+ | string | $url | -+ | URL to be cleaned that may contain "?" |
Part of the URL before the "?" if it existed
+debug( $msg)
- +
debug(string $msg)
+ Add date to bug message
+ | string | $msg | -+ | Message to be debugged |
matchPath( $path, $routePath)-
+
matchPath(string $path, string $routePath) : boolean+
Check if path matches route path
+ | string | $path | -+ | URL to parse |
+ | string | $routePath | -+ | Route path |
Whether or not they match
+__toString()-
+
__toString() : false|mixed|string|null+
Convert the output to a string value
- +array_flatten(array $array) : array
+ array_flatten(array $array) : array|boolean
Convert a multi-dimensional array into a single-dimensional array.
@@ -705,7 +720,7 @@getSwagger( $title = "Tina4", $description = "Swagger Documentation", $version = "1.0.0")-
+
getSwagger(string $title = "Tina4", string $description = "Swagger Documentation", string $version = "1.0.0") : false|string+
Swagger
+ | string | $title | |
+ | string | $description | |
+ | string | $version |
Any | -The Any route intercepts any type of call that can be made to the web server | +Class Any Sets the $method variable in Class Route to ANY using the definition in Class Tina4Php +The Any route intercepts any type of call that can be made to the web server e.g. Any::add() |
DataBase | -+ | Class DataBase Instantiates all common database procedures |
DataError | -+ | Class DataError Used to get and return an error |
DataField | -+ | Class DataField |
DataFirebird | -+ | Class DataBase Instantiates all common database procedures |
DataMySQL | -+ | Class DataMySQL Instantiates database functions |
DataRecord | -+ | Class DataRecord |
DataResult | -+ | Class DataResult Result of query |
DataSQLite3 | -+ | Class DataBase Instantiates all common database procedures |
Delete | -+ | Class Delete Sets the $method variable in Class Route to DELETE using the definition in Class Tina4Php +Delete route intercepts delete calls made to the web server e.g. Delete::add() |
Get | -+ | Class Get Sets the $method variable in Class Route to GET using the definition in Class Tina4Php +Get route intercepts get calls made to the web server e.g. Get::add() |