Get the URL for a give module & action combination
public static getURLForBlock ( string $module, string $action = null, string $language = null, array $data = null ) : string | ||
$module | string | The module wherefore the URL should be build. |
$action | string | The specific action wherefore the URL should be build. |
$language | string | The language wherein the URL should be retrieved, if not provided we will load the language that was provided in the URL. |
$data | array | An array with keys and values that partially or fully match the data of the block. If it matches multiple versions of that block it will just return the first match. |
Результат | string |