web\UrlRuleInterface parseRequest()

parseRequest() public abstract method

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

public abstract array|boolean parseRequest ( $manager, $request )
$manager yii\web\UrlManager

The URL manager

$request yii\web\Request

The request component

return array|boolean

The parsing result. The route and the parameters are returned as an array. If false, it means this rule cannot be used to parse this path info.

doc_Yii
2016-10-30 17:17:12
Comments
Leave a Comment

Please login to continue.