The Yaf_Route_Static class

Introduction

Yaf_Route_Static is the default route of Yaf_Router: it parses the URI path as /module/controller/action segments and is designed to handle most routing needs out of the box.

Note: It is unnecessary to instantiate a Yaf_Route_Static, or to add it to the route stack of Yaf_Router: there is always one present in the stack, and it is always tried last.

Class synopsis

Yaf_Route_Static
class Yaf_Route_Static implements Yaf_Router {
/* Methods */
public string assemble(array $info, array $query = ?)
public bool match(string $uri)
public bool route(Yaf_Request_Abstract $request)
}
Table of Contents