A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.yiiframework.com/doc/api/2.0/yii-web-urlruleinterface below:

UrlRuleInterface, yii\web\UrlRuleInterface | API Documentation for Yii 2.0

UrlRuleInterface is the interface that should be implemented by URL rule classes.

Hide inherited methods

createUrl()

public abstract method

Creates a URL according to the given route and parameters.

public abstract string|boolean createUrl ( $manager, $route, $params ) $manager yii\web\UrlManager

The URL manager

$route string

The route. It should not have slashes at the beginning or the end.

$params array

The parameters

return string|boolean

The created URL, or false if this rule cannot be used for creating this URL.

Source code

                public function createUrl($manager, $route, $params);

            

parseRequest()

public abstract method

Parses the given request and returns the corresponding route and parameters.

Source code

                public function parseRequest($manager, $request);

            

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4