Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 9 | All time: 11,109 This week: 108![]() |
Version | License | PHP version | Categories | |||
waymaker 1.0 | GNU General Publi... | 5 | HTTP, PHP 5, Parsers |
Description | Author | |
This class can parse the request route path to extract its parameters. |
It is used to separate the way and parameters.
data:
$str = 'app/controller:insert@redirect';
// $str = 'app/controller:insert';
// $str = 'app/controller';
Out-of-class use:
code:
require_once('Mind.php');
$m = new Mind();
print_r($m::aliyilmaz('wayMaker')->wayMaker($str));
When using it in the class:
code:
print_r(self::aliyilmaz('wayMaker')->wayMaker($str));
output:
Array
(
[way] => app/controller
[params] => Array
(
[0] => insert
[1] => redirect
)
)
This package has no dependencies.
Instructions and files in this directory are shared under the GPL3 license.
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.