PHP Classes

File: test/php/out3.txt

Recommend this page to a friend!
  Classes of Nikos M.   Dromeo PHP Router Library   test/php/out3.txt   Download  
File: test/php/out3.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Dromeo PHP Router Library
Route HTTP requests to functions with URL patterns
Author: By
Last change: v.1.2.0 in progress

* onGroup method to group routes under common (literal) prefix (in progress)
* handle edge case in makePattern
* original matched extracts contain same defaults (if given)
* fix typo in PHP,JS in clearRoute
* update tests
Date: 1 year ago
Size: 1,488 bytes
 

Contents

Class file image Download
Dromeo.VERSION = 1.2.0 Default Handler Array ( [route] => /foo/user/id [method] => * [pattern] => /foo/{:user}/{:id} [fallback] => [data] => Array ( [user] => user [id] => id [ORIG] => Array ( [user] => USER [id] => ID ) ) [route_original] => /FOO/USER/ID ) Default Handler Array ( [route] => /foo/foo/id [method] => * [pattern] => /foo/{:user}/{:id} [fallback] => [data] => Array ( [user] => foo [id] => id [ORIG] => Array ( [user] => Foo [id] => ID ) ) [route_original] => /FOO/Foo/ID ) Default Handler Array ( [route] => /foo/user-user [method] => * [pattern] => /foo{/%ALPHA%-%ALPHA%:user(2)} [fallback] => [data] => Array ( [user] => user [ORIG] => Array ( [user] => User ) ) [route_original] => /FOO/USER-User ) Default Handler Array ( [route] => /foo/foo-foo [method] => * [pattern] => /foo{/%ALPHA%-%ALPHA%:user(2)} [fallback] => [data] => Array ( [user] => foo [ORIG] => Array ( [user] => fOO ) ) [route_original] => /FOO/Foo-fOO )