\pm_View_Helper_BaseUrl

Helper for prepending URL with base URL

Summary

Methods
Properties
Constants
baseUrl()
moduleUrl()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A

Methods

baseUrl()

baseUrl(string  $url) : string

Add base URL to URL

Parameters

string $url

Returns

string

moduleUrl()

moduleUrl(array|string  $params) : string

Prepare URL for specified controller/action in context of module

[
    'controller' => string,
    'action' => string,
    'link' => string,
]

Parameters

array|string $params

Returns

string