Yaf
PHP Manual

The Yaf_Route_Static class

(No version information available, might only be in SVN)

Introduction

Defaultly, Yaf_Router only have a Yaf_Route_Static as its default route.

And Yaf_Route_Static is designed to handle the 80% requirement.

please *NOTE* that it is unecessary to instance a Yaf_Route_Static, also unecesary to add it into Yaf_Router's route stack, since there is always be one in Yaf_Router's route stack, and always be called at the last time.

Class synopsis

Yaf_Route_Static implements Yaf_Router {
/* Methods */
public void match ( string $uri )
public bool route ( Yaf_Request_Abstract $request )
}

Table of Contents


Yaf
PHP Manual