Yaf_Route_Simple::__constructYaf_Route_Simple constructor Description
public Yaf_Route_Simple::__construct
( string
$module_name
, string $controller_name
, string $action_name
)Yaf_Route_Simple will get route info from query string. and the parameters of this constructor will used as keys while searching for the route info in $_GET. Warning
This function is currently not documented; only its argument list is available. Parameters
Return Values
Always return ExamplesExample #1 Yaf_Route_Simple::routeexample
<?php Example #2 Yaf_Route_Simple::routeexample Request: http://yourdomain.com/path/?controller=a&act=b => module = default(index), controller = a, action = b Request: http://yourdomain.com/path => module = default(index), controller = default(index), action = default(index) See Also
|