pm_Pathbar::getSelfURL Method

Returns URL of the specified page.

Syntax

function getSelfURL ($page)

Parameters

page

      A string value that holds the action parameter (the PHP script file) of the specified page. Is set to NULL by default.

Returns

A string value that holds URL of the specified page.

Remarks

If the specified page refers to the 'root' level of hierarchy (displayed in the navigation pane of Plesk Control Panel), the function returns URL from the global scope, or the '/' string if failed to find such.