getPathInfo() public method
Returns the path info of the currently requested URL.
A path info refers to the part that is after the entry script and before the question mark (query string). The starting and ending slashes are both removed.
public string getPathInfo ( ) | ||
---|---|---|
return | string |
Part of the request URL that is after the entry script and before the question mark. Note, the returned path info is already URL-decoded. |
throws | yii\base\InvalidConfigException |
if the path info cannot be determined due to unexpected server configuration |
Please login to continue.