OSDN Git Service

php-libraries/Router.git
12 years agoreadme fix
Danny van Kooten [Sun, 15 Jan 2012 22:06:06 +0000 (23:06 +0100)]
readme fix

12 years agoUpdated readme file for v1.1
Danny van Kooten [Sun, 15 Jan 2012 22:05:29 +0000 (23:05 +0100)]
Updated readme file for v1.1

12 years agoImplemented match and matchCurrentRequest methods.
Danny van Kooten [Sun, 15 Jan 2012 22:01:04 +0000 (23:01 +0100)]
Implemented match and matchCurrentRequest methods.

12 years agoMore rewriting..
Danny van Kooten [Sun, 15 Jan 2012 21:45:24 +0000 (22:45 +0100)]
More rewriting..

12 years agoFirst commit after rewriting the class. Added a Route class that holds the
Danny van Kooten [Sun, 15 Jan 2012 21:06:21 +0000 (22:06 +0100)]
First commit after rewriting the class. Added a Route class that holds the
various route information.

Improved the matching, only the essential stuff is done for every route. The
way the Router class works has been changed entirely. This comes with
various benefits including improved readability."

12 years agoUncommented some examples
Danny van Kooten [Tue, 3 Jan 2012 08:35:00 +0000 (09:35 +0100)]
Uncommented some examples

12 years agoFixes #2 - now compatible with PHP 5.2.17, did not test any lower versions.
Danny van Kooten [Tue, 3 Jan 2012 08:30:09 +0000 (09:30 +0100)]
Fixes #2 - now compatible with PHP 5.2.17, did not test any lower versions.

12 years agoFixes #1
Danny van Kooten [Mon, 2 Jan 2012 22:46:15 +0000 (23:46 +0100)]
Fixes #1

12 years agoAdded :controller and :action segments. Added regex filters for URL variables.
Danny van Kooten [Sun, 4 Dec 2011 13:36:25 +0000 (14:36 +0100)]
Added :controller and :action segments. Added regex filters for URL variables.

12 years agoUpdated example, small typo.
Danny van Kooten [Tue, 29 Nov 2011 07:40:08 +0000 (08:40 +0100)]
Updated example, small typo.

12 years agoFixed REQUEST_METHOD hack for PUT and DELETE requests.
Danny van Kooten [Sun, 27 Nov 2011 22:22:17 +0000 (23:22 +0100)]
Fixed REQUEST_METHOD hack for PUT and DELETE requests.

12 years agoRemoved var_dump, fixed trailing slash issue for resources.
Danny van Kooten [Sun, 27 Nov 2011 20:34:46 +0000 (21:34 +0100)]
Removed var_dump, fixed trailing slash issue for resources.

12 years agoFixed case sensitivity. Fixed extracting target from URL when using base_url.
Danny van Kooten [Sun, 27 Nov 2011 19:17:31 +0000 (20:17 +0100)]
Fixed case sensitivity. Fixed extracting target from URL when using base_url.

12 years agoupdated readme
Danny van Kooten [Sun, 27 Nov 2011 16:17:11 +0000 (17:17 +0100)]
updated readme

12 years agoupdated example
Danny van Kooten [Sun, 27 Nov 2011 16:10:44 +0000 (17:10 +0100)]
updated example

12 years agoMethod naming consistency. Updated readme.
Danny van Kooten [Sun, 27 Nov 2011 16:08:47 +0000 (17:08 +0100)]
Method naming consistency. Updated readme.

12 years agoAdded readme
Danny van Kooten [Sun, 27 Nov 2011 16:02:58 +0000 (17:02 +0100)]
Added readme

12 years agoFirst commit
Danny van Kooten [Sun, 27 Nov 2011 15:56:57 +0000 (16:56 +0100)]
First commit