<?php

/**
 * Smarty plugin.
 */

/**
 * Smarty {find_module} plugin.
 *
 * Type:     function<br>
 * Name:     url<br>
 * Purpose:  finding module
 *
 * @param array                    $params parameters
 * @param Smarty_Internal_Template $smarty
 *
 * @return string
 */
function smarty_function_find_module($params, &$smarty)
{
    return findModule($params['name']);
}
