1: <?php
2: namespace {
3: /**
4: * MySQLO class for old mysql extension of php like php5.4 and old
5: *
6: * This class should be responsible for all mysql Database activities
7: *
8: * @author Sartaj Singh
9: * @copyright 2003
10: * @version 2.0.0
11: */
12: class MySQLO extends \Sphp\kit\DbEngine {
13: public static $dlink;
14: public static $isConnect = false;
15: public $all_query_ok = true;
16: public $sphp_api = null;
17: public function connect($db1 = "", $dhost1 = "", $duser1 = "", $dpass1 = "") {}
18: public function cleanQuery($string) {}
19: public function clearQuery($string) {}
20: public function executeQuery($sql) {}
21: public function executeQueryQuick($sql) {}
22: public function commitRollback() {}
23: public function commit() {}
24: public function rollback() {}
25: public function disableAutoCommit() {}
26: public function enableAutoCommit() {}
27: public function getDatabaseLink() {}
28: public function multiQuery($sql) {}
29: public function executeQueryJFX($sql) {}
30: public function executeQueryQuickJFX($sql) {}
31: public function disconnect() {}
32: public function updateSQL($frm, $txttbl, $where) {}
33: public function runSQL($table, $ar) {}
34: public function insertSQL($frm, $txttbl) {}
35: public function insertSQLMulti($arr, $txttbl) {}
36: public function searchSQL($frm, $tbllist, $where, $OP) {}
37: public function createDatabase() {}
38: public function createTable($sql) {}
39: public function dropTable($tableName) {}
40: public function isRecordExist($sql) {}
41: public function row_fetch_assoc($result) {}
42: public function row_fetch_array($result) {}
43: public function last_insert_id() {}
44: /**
45: * Check if result has rows of data
46: * @param Result Object From Database $param
47: * @return boolean true if rows exist
48: */
49: public function is_rows($result) {}
50: }
51: }
52: