diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-08-18 17:45:40 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-08-18 17:45:40 +0200 |
commit | f7192d05ab4afafdd91c517b4c3fd6329a3c3a24 (patch) | |
tree | f2e5bfe181a739ef005325ceba8d26983debea73 /ratatoeskr/sys/db.php | |
parent | 49d251000e2a280b4feb42d33750b00edca2c543 (diff) | |
download | ratatoeskr-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.php | 17 |
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 { } + ?> |