/** * @param Form $container * @return string */ protected function renderForm(Form $container) { return sprintf(self::FORMAT_FORM, $container->getFullId(), $container->getCssClass(), $container->getHttpMethod(), $container->getAction(), $container->getHtmlAttributesAsString(), $this->renderComponents($container->getComponents())); }
/** * @param Form $form */ protected function buildFormPrototype(Form $form) { $form->setCssBaseTypeClass('zingularForm')->setViewName(View::FORM)->setComponentBaseType('form')->setErrorBuilder(Builder::ERROR); }
/** * @return bool */ public function isPersistent() { return $this->form->isPersistent(); }