28 public function compile($args, $compiler, $parameter)
30 $compiler->variable_filter_stack[] = $compiler->template->variable_filters;
31 $compiler->template->variable_filters = $parameter[
'modifier_list'];
33 $compiler->has_code =
false;
60 if (count($compiler->variable_filter_stack)) {
61 $compiler->template->variable_filters = array_pop($compiler->variable_filter_stack);
63 $compiler->template->variable_filters = array();
66 $compiler->has_code =
false;
getAttributes($compiler, $attributes)
This function checks if the attributes passed are valid.
compile($args, $compiler)
Compiles code for the {/setfilter} tag.
compile($args, $compiler, $parameter)
Compiles code for setfilter tag.