2 use dns\system\RequestHandler
;
4 function smarty_block_link($params, $content, $template, &$repeat) {
9 if (!array_key_exists('controller', $params)) {
10 $params['controller'] = null;
13 if (!array_key_exists('id', $params)) {
17 if (!array_key_exists('title', $params)) {
18 $params['title'] = null;
21 return RequestHandler
::getInstance()->getLink($params, $content);