ImportExportPlugin::pluginUrl PHP Method

pluginUrl() public method

Generate a URL into the plugin.
See also: calling conventions at http://www.smarty.net/docsv2/en/api.register.function.tpl
public pluginUrl ( $params, &$smarty ) : string
$params array
$smarty Smarty
return string
    function pluginUrl($params, &$smarty)
    {
        $dispatcher = $this->_request->getDispatcher();
        return $dispatcher->url($this->_request, ROUTE_PAGE, null, 'management', 'importexport', array_merge(array('plugin', $this->getName(), isset($params['path']) ? $params['path'] : array())));
    }