public function compileEndWidget(Twig_Compiler $compiler) { if (!$this->getNode('values')->hasNode('region')) { parent::compileEndWidget($compiler); } else { $compiler->write(sprintf('echo %s->endLayout();', $this->getVarName())); } }
public function compileEndWidget(Twig_Compiler $compiler) { if ($this->getNode('values')->hasNode('step')) { $compiler->write(sprintf('echo %s->endStep();', $this->getVarName())); $compiler->raw("\n"); } else { parent::compileEndWidget($compiler); } }
public function compileEndWidget(Twig_Compiler $compiler) { if ($this->isButtonset()) { $compiler->write(sprintf('echo %s->endButtonset();', $this->getVarName())); $compiler->raw("\n"); } else { parent::compileEndWidget($compiler); } }
public function compileEndWidget(Twig_Compiler $compiler) { if ($this->isInline()) { parent::compileEndWidget($compiler); } }