YAF_ROUTE_SIMPLE(3) 1 YAF_ROUTE_SIMPLE(3)
The Yaf_Route_Simple class
INTRODUCTION
Yaf_Route_Simple will match the query string, and find the route info.
all you need to do is tell Yaf_Route_Simple what key in the $_GET is module, what key is controller, and what key is action.
Yaf_Route_Simple::route will always return TRUE, so it is important put Yaf_Route_Simple in the front of the Route stack, otherwise all the
other routes will not be called.
CLASS SYNOPSIS
Yaf_Route_Simple
Yaf_Route_SimpleYaf_Route_Interface
Properties
o protected$controller
o protected$module
o protected$action
Methods
o public string Yaf_Route_Simple::assemble (array $info, [array $query])
o public Yaf_Route_Simple::__construct (string $module_name, string $controller_name, string $action_name)
o public bool Yaf_Route_Simple::route (Yaf_Request_Abstract $request)
PROPERTIES
o $controller
-
o $module
-
o $action
-
PHP Documentation Group YAF_ROUTE_SIMPLE(3)