Ejemplo n.º 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);
}
Ejemplo n.º 2
0
function smarty_cms_function_news($params, &$smarty)
{
    $params['module'] = 'News';
    return cms_module_plugin($params, $smarty);
}
Ejemplo n.º 3
0
function smarty_cms_function_search($params, &$smarty)
{
    $params['module'] = 'Search';
    return cms_module_plugin($params, $smarty);
}
Ejemplo n.º 4
0
 public function _my_function_plugin($params, &$template)
 {
     $class = get_class($this);
     $params['module'] = $class;
     return cms_module_plugin($params, $template);
 }
Ejemplo n.º 5
0
 public static final function smarty_cms_breadcrumbs($params, &$smarty)
 {
     $params['action'] = 'breadcrumbs';
     $params['module'] = 'MenuManager';
     return cms_module_plugin($params, $smarty);
 }
Ejemplo n.º 6
0
function smarty_function_cms_module($params, &$template)
{
    return cms_module_plugin($params, $template);
}
Ejemplo n.º 7
0
function smarty_cms_function_print($params, &$smarty)
{
    $params['module'] = 'Printing';
    return cms_module_plugin($params, $smarty);
}
Ejemplo n.º 8
0
function smarty_cms_function_menu($params, &$smarty)
{
    $params['module'] = 'MenuManager';
    return cms_module_plugin($params, $smarty);
}
Ejemplo n.º 9
0
 /**
  * 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);
 }
Ejemplo n.º 10
0
 /**
  * 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);
}