summaryrefslogtreecommitdiffstats
path: root/app/class/database.class.php (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-07-06Add function database::setConfig()Malf Furious1-0/+51
2017-02-13Add function database::checkConfig()Malf Furious1-0/+17
2017-02-13Implement function database::getInstance()Malf Furious1-2/+30
2017-02-06Update database APIMalf Furious1-5/+22
The abstract functions of database have been made protected and their names prefixed with '_'. The database class has been given new static functions query() and esc(), which call the _query() and _esc() function from the database instance object. This change was made to address the use of db routines from static contexes. Calls like `database::get()->query()` which mix static and instance function access operators, can now be `database::query()`, and all singleton is abstracted away; the instance's destructor continues to close the db connection.
2017-01-14Add database classMalf Furious1-0/+58
2017-01-14Reset working directory for clean Scrott implementationMalf Furious1-73/+0
2017-01-14Partial commit of initObj function -- this class needs reworked again...Malf Furious1-0/+26
2016-10-23Add mysql classMalf Furious1-0/+1
2016-10-23Add database classMalf Furious1-0/+46