public function compileBuilderFuntcionName(Twig_Compiler $compiler) { if ($this->getNode('values')->hasNode('withValidation') && $this->getNodeValue('withValidation')) { $compiler->raw('->ajaxSubmit()'); } else { parent::compileBuilderFuntcionName($compiler); } }
public function compileBuilderFuntcionName(Twig_Compiler $compiler) { if ($this->isTimepicker()) { $compiler->raw('->timepicker()'); } elseif ($this->isRangepicker()) { $compiler->raw('->daterangepicker()'); } else { parent::compileBuilderFuntcionName($compiler); } }
public function compileBuilderFuntcionName(Twig_Compiler $compiler) { if ($this->getNode('values')->hasNode('qwerty') && $this->getNodeValue('qwerty')) { $compiler->raw('->qwerty()'); } elseif ($this->getNode('values')->hasNode('alphabetic') && $this->getNodeValue('alphabetic')) { $compiler->raw('->alphabetic()'); } else { parent::compileBuilderFuntcionName($compiler); } }