OSDN Git Service

php-libraries/Router.git
12 years agoMerge branch 'master' of github.com:dannyvankooten/PHP-Router
Danny van Kooten [Sat, 7 Apr 2012 11:37:58 +0000 (13:37 +0200)]
Merge branch 'master' of github.com:dannyvankooten/PHP-Router

12 years agoAdded LICENSE file
Danny van Kooten [Sat, 7 Apr 2012 11:36:17 +0000 (13:36 +0200)]
Added LICENSE file

12 years agoMerge pull request #8 from laokaplow/patch-1
Danny van Kooten [Mon, 2 Apr 2012 08:10:00 +0000 (01:10 -0700)]
Merge pull request #8 from laokaplow/patch-1

Fixed minor indentation error

12 years agoFixed misleading indentation
laokaplow [Sun, 1 Apr 2012 03:08:59 +0000 (20:08 -0700)]
Fixed misleading indentation

12 years agoRemoved sublime files
Danny van Kooten [Mon, 27 Feb 2012 14:17:07 +0000 (15:17 +0100)]
Removed sublime files

12 years agoRemoved sublime files
Danny van Kooten [Mon, 27 Feb 2012 14:13:33 +0000 (15:13 +0100)]
Removed sublime files

12 years agoRemoved sublime files
Danny van Kooten [Mon, 27 Feb 2012 14:13:02 +0000 (15:13 +0100)]
Removed sublime files

12 years agoFixes #5
Danny van Kooten [Mon, 27 Feb 2012 14:11:50 +0000 (15:11 +0100)]
Fixes #5

12 years agoFixes #4
Danny van Kooten [Fri, 10 Feb 2012 09:21:59 +0000 (10:21 +0100)]
Fixes #4

- Forced suffixing of Route URL's with a forward slash.
- Added getters and setters for parameters.

12 years agoReadme fix
Danny van Kooten [Thu, 9 Feb 2012 20:14:32 +0000 (21:14 +0100)]
Readme fix

12 years agoUpdated readme for 1.1
Danny van Kooten [Thu, 9 Feb 2012 20:13:00 +0000 (21:13 +0100)]
Updated readme for 1.1

12 years ago1.1 changes
Danny van Kooten [Thu, 9 Feb 2012 20:09:33 +0000 (21:09 +0100)]
1.1 changes

- Better inline documentation
- More examples
- Changed the way Route targets are handled. You can now specify anything (string|array) and use your own custom method to do something with this target.
- Code clean up

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