diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-08-18 01:22:35 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-08-18 01:22:35 +0200 |
commit | 35e5be8ac9aaa7a409c7f70b1b882b809c0bb2e1 (patch) | |
tree | 8e2a094598b7232c8ad87c6146af88e790746d62 /ratatoeskr/sys/urlprocess.php | |
parent | bd745354de0247ff4d1903cb9d96fd50dfb4bfce (diff) | |
download | ratatoeskr-cms-35e5be8ac9aaa7a409c7f70b1b882b809c0bb2e1.tar.gz ratatoeskr-cms-35e5be8ac9aaa7a409c7f70b1b882b809c0bb2e1.tar.bz2 ratatoeskr-cms-35e5be8ac9aaa7a409c7f70b1b882b809c0bb2e1.zip |
Added script that will create the documentation.
Also rewritten some documentation, so NaturalDocs can handle them.
Diffstat (limited to 'ratatoeskr/sys/urlprocess.php')
-rw-r--r-- | ratatoeskr/sys/urlprocess.php | 40 |
1 files changed, 20 insertions, 20 deletions
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 @@ -10,26 +10,6 @@ */ /* - * Class: Redirect - * Exception that can be thrown inside an <url_action_simple>. - * 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 <url_action_simple>. + * 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 { } + ?> |