/** * Add code for including subtemplate to end of template * * @param \Smarty_Internal_TemplateCompilerBase $compiler * @param string $file subtemplate name */ private function compileInclude(Smarty_Internal_TemplateCompilerBase $compiler, $file) { $compiler->parser->template_postfix[] = new Smarty_Internal_ParseTree_Tag($compiler->parser, $compiler->compileTag('include', array($file, array('scope' => 'parent')))); }
function yy_r146() { if ($this->yystack[$this->yyidx + -1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + -1]->minor['smarty_internal_index']) . $this->yystack[$this->yyidx + 0]->minor; } else { $this->_retvalue = $this->compiler->compileVariable($this->yystack[$this->yyidx + -1]->minor['var']) . $this->yystack[$this->yyidx + -1]->minor['smarty_internal_index'] . $this->yystack[$this->yyidx + 0]->minor; } }
function yy_r83() { $this->_retvalue = $this->compiler->compileTag('private_modifier', [], ['value' => $this->yystack[$this->yyidx + -1]->minor, 'modifierlist' => $this->yystack[$this->yyidx + 0]->minor]); }