Exemplo n.º 1
0
 /**
  * @param OA_Admin_UI_Component_Form $form
  */
 function startForm($form)
 {
     parent::startForm($form);
     $this->_ary['id'] = $form->getId();
     $this->_ary['hasRequiredFields'] = $form->hasRequiredFields();
     $this->_ary['JQueryMethods'] = $form->getJQueryValidationMethods();
     $this->_ary['JQueryRules'] = $form->getJQueryValidationRules();
     $this->_form = $form;
 }
Exemplo n.º 2
0
 function startForm(&$form)
 {
     parent::startForm($form);
     foreach ($form->_errors as $key => $val) {
         if (is_int($key)) {
             $this->_ary['errors'][] = $val;
         }
     }
 }
Exemplo n.º 3
0
 function startForm(&$form)
 {
     parent::startForm($form);
     $this->_currentSection = 0;
     $this->_sectionCount = 1;
 }
Exemplo n.º 4
0
 function startForm(&$form)
 {
     parent::startForm($form);
     foreach ($form->_errors as $key => $val) {
         if (is_int($key)) {
             $this->_ary['errors'][] = $val;
         }
     }
     if (method_exists($form, 'getSubmitLabel')) {
         $this->_ary['submit_label'] = $form->getSubmitLabel();
     }
 }