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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.