Yaf_Route_Simple::__constructConstruct a simple route Description
public Yaf_Route_Simple::__construct(string
$module_name, string $controller_name, string $action_name)Construct a simple route. A simple route reads the module, controller and action names from the query variables named as the three arguments. For example, with the constructor arguments Parameters
Return ValuesNo value is returned. ExamplesExample #1 Yaf_Route_Simple::__construct example The above example will output something similar to: /* http://yourdomain.com/index.php?m=main&c=product&a=detail * routes to the following values: */ array( "module" => "main", "controller" => "product", "action" => "detail", ) See Also
|