From 35e5be8ac9aaa7a409c7f70b1b882b809c0bb2e1 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 18 Aug 2011 01:22:35 +0200 Subject: Added script that will create the documentation. Also rewritten some documentation, so NaturalDocs can handle them. --- ratatoeskr/sys/urlprocess.php | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'ratatoeskr/sys/urlprocess.php') diff --git a/ratatoeskr/sys/urlprocess.php b/ratatoeskr/sys/urlprocess.php index 2274197..d539c87 100644 --- a/ratatoeskr/sys/urlprocess.php +++ b/ratatoeskr/sys/urlprocess.php @@ -9,26 +9,6 @@ * See "ratatoeskr/licenses/ratatoeskr" for more information. */ -/* - * Class: Redirect - * Exception that can be thrown inside an . - * throw new Redirect(array("..", "foo")); will redirect to "../foo" and won't touch $data. - */ -class Redirect extends Exception -{ - public $nextpath; - public function __construct($nextpath) - { - $this->nextpath = $nextpath; - parent::__construct(); - } -} -/* - * Class: NotFoundError - * An Exception - */ -class NotFoundError extends Exception { } - /* * Function: url_action_simple * Generate an action in a more simple way. @@ -151,4 +131,24 @@ function url_process($url, $actions, &$data) return NULL; } +/* + * Class: Redirect + * Exception that can be thrown inside an . + * throw new Redirect(array("..", "foo")); will redirect to "../foo" and won't touch $data. + */ +class Redirect extends Exception +{ + public $nextpath; + public function __construct($nextpath) + { + $this->nextpath = $nextpath; + parent::__construct(); + } +} +/* + * Class: NotFoundError + * An Exception + */ +class NotFoundError extends Exception { } + ?> -- cgit v1.2.3-70-g09d2