Ejemplo n.º 1
0
 function template_params(&$ctx)
 {
     parent::template_params($ctx);
     $vars =& $ctx->__stash['vars'];
     $vars['category_weekly_archive'] = 1;
     $vars['archive_class'] = 'category-weekly-archive';
 }
Ejemplo n.º 2
0
 public function template_params()
 {
     $mt = MT::get_instance();
     $ctx =& $mt->context();
     parent::template_params();
     $vars =& $ctx->__stash['vars'];
     $vars['category_weekly_archive'] = 1;
     $vars['archive_class'] = 'category-weekly-archive';
 }