protected function createFormFields()
 {
     if (!empty($this->availableActions)) {
         $this->form->addField(new CoreFormFieldSubmitSet('_action', $this->availableActions[0], $this->availableActions));
     }
     $this->form->addField(new CoreFormFieldHidden('id'));
 }
 protected function createBasicFilterFormFields()
 {
     foreach ($this->getFilterTypes() as $fieldName => $filter) {
         $field = $filter->createField($fieldName);
         if (!empty($field)) {
             $this->filterForm->addField($field);
         }
     }
 }
 protected function createFormFields()
 {
     $this->form->addField(new CoreFormFieldHidden('cc'));
     $this->form->addField(new CoreFormFieldPassword('userPassword'));
     $this->form->addField(new CoreFormFieldPassword('userPasswordConfirm'));
 }
 protected function createFormFields()
 {
     $this->form->addField(new CoreFormFieldFile('_fileUpload'));
     $this->form->addField(new CoreFormFieldText('id'));
     $this->form->addField(new CoreFormFieldText('_tmpId'));
     $this->form->addField(new CoreFormFieldText('fileCategory'));
     $this->form->addField(new CoreFormFieldText('filePosition'));
     $this->form->addField(new CoreFormFieldText('recordType'));
     $this->form->addField(new CoreFormFieldText('image_width'));
     $this->form->addField(new CoreFormFieldText('image_height'));
     $this->form->addField(new CoreFormFieldText('image_ignoreProportions'));
     $this->form->addField(new CoreFormFieldText('image_crop'));
     $this->form->addField(new CoreFormFieldText('image_backgroundColor'));
 }