The Yaf_Route_Supervar class

Introduction

Yaf_Route_Supervar is a built-in route that resolves the request target from a single GET parameter (the supervar). The value of that parameter is parsed the same way as PATH_INFO, so a request such as /?r=/user/list maps to controller user and action list when the supervar name is r.

Class synopsis

Yaf_Route_Supervar
class Yaf_Route_Supervar implements Yaf_Route_Interface {
/* Properties */
protected $_var_name;
/* Methods */
public __construct(string $supervar_name)
public string assemble(array $info, array $query = ?)
public bool route(Yaf_Request_Abstract $request)
}

Properties

_var_name

Table of Contents