Beispiel #1
0
function smarty_cms_function_site_mapper($params, &$smarty)
{
    $params['module'] = 'MenuManager';
    if (!isset($params['template'])) {
        $params['template'] = 'minimal_menu.tpl';
    }
    return cms_module_plugin($params, $smarty);
}
Beispiel #2
0
function smarty_cms_function_news($params, &$smarty)
{
    $params['module'] = 'News';
    return cms_module_plugin($params, $smarty);
}
function smarty_cms_function_search($params, &$smarty)
{
    $params['module'] = 'Search';
    return cms_module_plugin($params, $smarty);
}
 public function _my_function_plugin($params, &$template)
 {
     $class = get_class($this);
     $params['module'] = $class;
     return cms_module_plugin($params, $template);
 }
 public static final function smarty_cms_breadcrumbs($params, &$smarty)
 {
     $params['action'] = 'breadcrumbs';
     $params['module'] = 'MenuManager';
     return cms_module_plugin($params, $smarty);
 }
function smarty_function_cms_module($params, &$template)
{
    return cms_module_plugin($params, $template);
}
Beispiel #7
0
function smarty_cms_function_print($params, &$smarty)
{
    $params['module'] = 'Printing';
    return cms_module_plugin($params, $smarty);
}
Beispiel #8
0
function smarty_cms_function_menu($params, &$smarty)
{
    $params['module'] = 'MenuManager';
    return cms_module_plugin($params, $smarty);
}
 /**
  * Callback function for module plugins.
  * This method is used to call the module from
  * within template co.
  *
  * This function should not be overridden
  *
  * @final
  * @return mixed module call output.
  * @ignore
  */
 public static final function function_plugin($params, &$template)
 {
     $class = get_called_class();
     $params['module'] = $class;
     return cms_module_plugin($params, $template);
 }
 /**
  * Callback function for module plugins.
  * This method is used to call the module from
  * within template co.
  *
  * This function should not be overridden
  *
  * @final
  * @return mixed module call output.
  */
 public final function function_plugin($params, &$smarty)
 {
     $params['module'] = $this->GetName();
     return cms_module_plugin($params, $smarty);
 }
function smarty_cms_function_cms_module($params, &$smarty)
{
    return cms_module_plugin($params, $smarty);
}