Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yaf_route_simple(3) [php man page]

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)

Check Out this Related Man Page

YAF_REQUEST_ABSTRACT(3) 						 1						   YAF_REQUEST_ABSTRACT(3)

The Yaf_Request_Abstract class

INTRODUCTION
CLASS SYNOPSIS
Yaf_Request_Abstract Yaf_Request_Abstract Constants o const string$Yaf_Request_Abstract::SCHEME_HTTPhttp o const string$Yaf_Request_Abstract::SCHEME_HTTPShttps Properties o public$module o public$controller o public$action o public$method o protected$params o protected$language o protected$_exception o protected$_base_uri o protected$uri o protected$dispatched o protected$routed Methods o public void Yaf_Request_Abstract::getActionName (void ) o public void Yaf_Request_Abstract::getBaseUri (void ) o public void Yaf_Request_Abstract::getControllerName (void ) o public void Yaf_Request_Abstract::getEnv (string $name, [string $default]) o public void Yaf_Request_Abstract::getException (void ) o public void Yaf_Request_Abstract::getLanguage (void ) o public void Yaf_Request_Abstract::getMethod (void ) o public void Yaf_Request_Abstract::getModuleName (void ) o public void Yaf_Request_Abstract::getParam (string $name, [string $default]) o public void Yaf_Request_Abstract::getParams (void ) o public void Yaf_Request_Abstract::getRequestUri (void ) o public void Yaf_Request_Abstract::getServer (string $name, [string $default]) o public void Yaf_Request_Abstract::isCli (void ) o public void Yaf_Request_Abstract::isDispatched (void ) o public void Yaf_Request_Abstract::isGet (void ) o public void Yaf_Request_Abstract::isHead (void ) o public void Yaf_Request_Abstract::isOptions (void ) o public void Yaf_Request_Abstract::isPost (void ) o public void Yaf_Request_Abstract::isPut (void ) o public void Yaf_Request_Abstract::isRouted (void ) o public void Yaf_Request_Abstract::isXmlHttpRequest (void ) o public void Yaf_Request_Abstract::setActionName (string $action) o public bool Yaf_Request_Abstract::setBaseUri (string $uir) o public void Yaf_Request_Abstract::setControllerName (string $controller) o public void Yaf_Request_Abstract::setDispatched (void ) o public void Yaf_Request_Abstract::setModuleName (string $module) o public void Yaf_Request_Abstract::setParam (string $name, [string $value]) o public void Yaf_Request_Abstract::setRequestUri (string $uir) o public void Yaf_Request_Abstract::setRouted ([string $flag]) PROPERTIES
o $module - o $controller - o $action - o $method - o $params - o $language - o $_exception - o $_base_uri - o $uri - o $dispatched - o $routed - PREDEFINED CONSTANTS
o Yaf_Request_Abstract::SCHEME_HTTP - o Yaf_Request_Abstract::SCHEME_HTTPS - PHP Documentation Group YAF_REQUEST_ABSTRACT(3)
Man Page