Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Yaf_Route_Static::routeYaf_Route_Supervar::assemble>
^YafLast updated: Mon, 26 Oct 2026

The Yaf_Route_Supervar class

(Yaf >=1.0.0)

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

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

Properties

_var_name

Table of Contents


<Yaf_Route_Static::routeYaf_Route_Supervar::assemble>
^YafLast updated: Mon, 26 Oct 2026