Merge pull request #13477 from yiisoft/urlmanager-test

Refactored UrlManagerTest to cover more use cases
This commit is contained in:
Carsten Brandt
2017-01-31 11:54:03 +01:00
committed by GitHub
7 changed files with 1128 additions and 483 deletions

View File

@ -43,7 +43,7 @@ The [[yii\web\UrlManager|URL manager]] supports two URL formats:
- the default URL format;
- the pretty URL format.
The default URL format uses a query parameter named `r` to represent the route and normal query parameters
The default URL format uses a [[yii\web\UrlManager::$routeParam|query parameter]] named `r` to represent the route and normal query parameters
to represent the query parameters associated with the route. For example, the URL `/index.php?r=post/view&id=100` represents
the route `post/view` and the `id` query parameter `100`. The default URL format does not require any configuration of
the [[yii\web\UrlManager|URL manager]] and works in any Web server setup.