web\UrlManager setBaseUrl()

setBaseUrl() public method

Sets the base URL that is used by createUrl() to prepend to created URLs.

This is mainly used when $enablePrettyUrl is true and $showScriptName is false.

public void setBaseUrl ( $value )
$value string

The base URL that is used by createUrl() to prepend to created URLs.

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

Please login to continue.