web\UrlManager $enablePrettyUrl

$enablePrettyUrl public property

Whether to enable pretty URLs. Instead of putting all parameters in the query string part of a URL, pretty URLs allow using path info to represent some of the parameters and can thus produce more user-friendly URLs, such as "/news/Yii-is-released", instead of "/index.php?r=news%2Fview&id=100".

public boolean $enablePrettyUrl = false
doc_Yii
2016-10-30 17:16:56
Comments
Leave a Comment

Please login to continue.