Class rex_url
Utility class to generate relative URLs.
Methods summary
public static
|
||
public static
string
|
||
public static
string
|
||
public static
string
|
#
frontendController( array $params = [], boolean $escape = true )
Returns the url to the frontend-controller (index.php from frontend). |
|
public static
string
|
||
public static
string
|
#
backendController( array $params = [], boolean $escape = true )
Returns the url to the backend-controller (index.php from backend). |
|
public static
string
|
#
backendPage( string $page, array $params = [], boolean $escape = true )
Returns the url to a backend page. |
|
public static
string
|
#
currentBackendPage( array $params = [], boolean $escape = true )
Returns the url to the current backend page. |
|
public static
string
|
||
public static
string
|
||
public static
string
|
#
coreAssets( string $file = '' )
Returns the url to the assets folder of the core, which contains all assets required by the core to work properly. |
|
public static
string
|
#
addonAssets( string $addon, string $file = '' )
Returns the url to the assets folder of the given addon, which contains all assets required by the addon to work properly. |
|
public static
string
|
#
pluginAssets( string $addon, string $plugin, string $file = '' )
Returns the url to the assets folder of the given plugin of the given addon. |
Properties summary
protected static
mixed
|
$pathprovider
|