From f7192d05ab4afafdd91c517b4c3fd6329a3c3a24 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 18 Aug 2011 17:45:40 +0200 Subject: Improved documentation. --- ratatoeskr/main.php | 5 +++-- ratatoeskr/sys/db.php | 17 +++++++++-------- ratatoeskr/sys/models.php | 5 +++-- ratatoeskr/sys/plugin_api.php | 8 ++++---- ratatoeskr/sys/urlprocess.php | 5 +++-- ratatoeskr/sys/utils.php | 5 +++-- 6 files changed, 25 insertions(+), 20 deletions(-) diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php index 93cefe5..8d988da 100644 --- a/ratatoeskr/main.php +++ b/ratatoeskr/main.php @@ -1,8 +1,9 @@ , 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 { } + ?> diff --git a/ratatoeskr/sys/models.php b/ratatoeskr/sys/models.php index f2f6076..4448266 100644 --- a/ratatoeskr/sys/models.php +++ b/ratatoeskr/sys/models.php @@ -1,8 +1,9 @@ for more details. + * Register an URL handler. See for more details. * * Parameters: * $name - The name of the new URL diff --git a/ratatoeskr/sys/urlprocess.php b/ratatoeskr/sys/urlprocess.php index d539c87..a05d694 100644 --- a/ratatoeskr/sys/urlprocess.php +++ b/ratatoeskr/sys/urlprocess.php @@ -1,9 +1,10 @@