aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/sys/db.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2011-08-18 17:45:40 +0200
committerKevin Chabowski <kevin@kch42.de>2011-08-18 17:45:40 +0200
commitf7192d05ab4afafdd91c517b4c3fd6329a3c3a24 (patch)
treef2e5bfe181a739ef005325ceba8d26983debea73 /ratatoeskr/sys/db.php
parent49d251000e2a280b4feb42d33750b00edca2c543 (diff)
downloadratatoeskr-cms-f7192d05ab4afafdd91c517b4c3fd6329a3c3a24.tar.gz
ratatoeskr-cms-f7192d05ab4afafdd91c517b4c3fd6329a3c3a24.tar.bz2
ratatoeskr-cms-f7192d05ab4afafdd91c517b4c3fd6329a3c3a24.zip
Improved documentation.
Diffstat (limited to 'ratatoeskr/sys/db.php')
-rw-r--r--ratatoeskr/sys/db.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/ratatoeskr/sys/db.php b/ratatoeskr/sys/db.php
index fcde7f3..55801c0 100644
--- a/ratatoeskr/sys/db.php
+++ b/ratatoeskr/sys/db.php
@@ -1,9 +1,10 @@
<?php
/*
- * File: db.php
+ * File: ratatoeskr/sys/db.php
*
* Helper functions for dealing with MySQL.
- *
+ *
+ * License:
* This file is part of Ratatöskr.
* Ratatöskr is licensed unter the MIT / X11 License.
* See "ratatoeskr/licenses/ratatoeskr" for more information.
@@ -39,12 +40,6 @@ function sqlesc($str)
}
/*
- * Class: MySQLException
- * Will be thrown by qdb*, if the query induced an MySQL error.
- */
-class MySQLException extends Exception { }
-
-/*
* Function: qdb_vfmt
* Like <qdb_fmt>, but needs arguments as single array.
*
@@ -101,4 +96,10 @@ function qdb()
return $rv;
}
+/*
+ * Class: MySQLException
+ * Will be thrown by qdb*, if the query induced an MySQL error.
+ */
+class MySQLException extends Exception { }
+
?>