protected function createFormFields()
 {
     parent::createFormFields();
     //$this->form->addField(new CoreFormFieldSelectAjax('Id'));
     $this->form->addField(new CoreFormFieldText('wellName'));
     $this->form->addField(new CoreFormFieldText('wellDescription'));
     $this->form->addField(new CoreFormFieldText('wellUWI'));
     $this->form->addField(new CoreFormFieldText('wellAPI'));
     $this->form->addField(new CoreFormFieldText('wellSlot'));
     $this->form->addField(new CoreFormFieldText('wellTedit'));
     $this->createWellTypeField();
     $this->createWellTrajectoryField();
     $this->createWell3DTrajectoryField();
     $this->form->addField(new CoreFormFieldText('A'));
     $this->form->addField(new CoreFormFieldText('A1'));
     $this->form->addField(new CoreFormFieldText('A2'));
     $this->form->addField(new CoreFormFieldText('A3'));
     $this->form->addField(new CoreFormFieldText('A4'));
     $this->form->addField(new CoreFormFieldText('H'));
     $this->form->addField(new CoreFormFieldText('H1'));
     $this->form->addField(new CoreFormFieldText('H2'));
     $this->form->addField(new CoreFormFieldText('H3'));
     $this->form->addField(new CoreFormFieldText('H4'));
     $this->form->addField(new CoreFormFieldText('L'));
     $this->form->addField(new CoreFormFieldText('L1'));
     $this->form->addField(new CoreFormFieldText('L2'));
     $this->form->addField(new CoreFormFieldText('L3'));
     $this->form->addField(new CoreFormFieldText('L4'));
     $this->form->addField(new CoreFormFieldText('L5'));
     $this->form->addField(new CoreFormFieldText('R'));
     $this->form->addField(new CoreFormFieldText('R1'));
     $this->form->addField(new CoreFormFieldText('R2'));
     $this->form->addField(new CoreFormFieldText('R3'));
     $this->form->addField(new CoreFormFieldText('R4'));
     $this->form->addField(new CoreFormFieldText('alfa'));
     $this->form->addField(new CoreFormFieldText('alfa1'));
     $this->form->addField(new CoreFormFieldText('alfa2'));
     $this->form->addField(new CoreFormFieldText('alfa3'));
     $this->form->addField(new CoreFormFieldText('alfa4'));
     $this->form->addField(new CoreFormFieldText('delta'));
     $this->form->addField(new CoreFormFieldText('delta1'));
     $this->form->addField(new CoreFormFieldText('delta2'));
     $this->form->addField(new CoreFormFieldText('delta3'));
     $this->form->addField(new CoreFormFieldText('delta4'));
     $this->form->addField(new CoreFormFieldText('DLS'));
     $this->form->addField(new CoreFormFieldText('DLS1'));
     $this->form->addField(new CoreFormFieldText('DLS2'));
     $this->form->addField(new CoreFormFieldText('DLS3'));
     $this->form->addField(new CoreFormFieldText('DLS4'));
     $this->form->addField(new CoreFormFieldText('azimuth'));
     $this->form->addField(new CoreFormFieldText('tvectorX'));
     $this->form->addField(new CoreFormFieldText('tvectorY'));
     $this->form->addField(new CoreFormFieldText('tvectorZ'));
     $this->form->addField(new CoreFormFieldText('vsection'));
     $this->form->addField(new CoreFormFieldText('step'));
     $this->form->addField(new CoreFormFieldHidden('color'));
     //$this->form->addField(new CoreFormFieldText('wellType'));
     $this->form->addField(new CoreFormFieldText('wellTrajectoryVariant'));
     $this->form->addField(new CoreFormFieldText('well3DPints'));
 }
 protected function createFormFields()
 {
     parent::createFormFields();
     //$this->form->addField(new CoreFormFieldSelectAjax('Id'));
     $this->form->addField(new CoreFormFieldText('projectName'));
     $this->form->addField(new CoreFormFieldText('projectLocation'));
     $this->form->addField(new CoreFormFieldText('projectDescription'));
     $this->form->addField(new CoreFormFieldText('projectSystem'));
     $this->form->addField(new CoreFormFieldText('projectElevation'));
     //$this->form->addField(new CoreFormFieldText('companySurveyCalcMethod'));
 }
 protected function createFormFields()
 {
     parent::createFormFields();
     //$this->form->addField(new CoreFormFieldSelectAjax('Id'));
     $this->form->addField(new CoreFormFieldText('companyName'));
     $this->form->addField(new CoreFormFieldText('companyDivision'));
     $this->form->addField(new CoreFormFieldText('companyAddress'));
     $this->form->addField(new CoreFormFieldText('companyPhone'));
     $this->form->addField(new CoreFormFieldText('comapanyEmail'));
     $this->form->addField(new CoreFormFieldText('companySurveyCalcMethod'));
 }
 protected function createFormFields()
 {
     parent::createFormFields();
     //$this->form->addField(new CoreFormFieldSelectAjax('Id'));
     $this->form->addField(new CoreFormFieldText('siteName'));
     $this->form->addField(new CoreFormFieldText('siteDistrict'));
     $this->form->addField(new CoreFormFieldText('siteBlock'));
     $this->form->addField(new CoreFormFieldText('siteElevation'));
     $this->form->addField(new CoreFormFieldText('siteLocation'));
     $this->form->addField(new CoreFormFieldText('siteTeditNorthing'));
     $this->form->addField(new CoreFormFieldText('siteTeditEasting'));
     //$this->form->addField(new CoreFormFieldText('companySurveyCalcMethod'));
 }
 protected function createFormFields()
 {
     parent::createFormFields();
     if (empty($this->record['id'])) {
         $this->form->addField(new CoreFormFieldText('adminName'));
     }
     $this->form->addField(new CoreFormFieldPassword('adminPassword'));
     $this->form->addField(new CoreFormFieldPassword('adminPasswordConfirm'));
     if ($this->currentUser['adminRole'] == $this->adminRoles['adminRoleSuperadmin']) {
         $this->form->addField(new CoreFormFieldText('adminFirstName'));
         $this->form->addField(new CoreFormFieldText('adminSurname'));
         if ($this->record['id'] != $this->currentUser['id']) {
             $this->form->addField(new CoreFormFieldSelect('adminRole', null, array(0 => '<choose>') + CoreConfig::get('Data', 'adminRoles')));
         }
     }
 }
 protected function createFormFields()
 {
     parent::createFormFields();
     if (!empty($this->tmpRecord['id'])) {
         $this->form->addField(new CoreFormFieldHidden('_tmpId', $this->tmpRecord['id']));
     }
     foreach (array_keys($this->swfAttachmentTypes) as $listName) {
         if ($this->isSWFUploadOrderingActive($listName)) {
             // Typ pola jest text, ponieważ nie chcemy, żeby w widoku to pole było
             // automatycznie umieszczane na początku formularza!
             $this->form->addField(new CoreFormFieldText($listName . '_order'));
         }
     }
     foreach (array_keys($this->standardAttachmentTypes) as $listName) {
         $this->form->addFieldToVLF($listName, new CoreFormFieldHidden('id'));
         $this->form->addFieldToVLF($listName, new CoreFormFieldHidden('fileOrder'));
         $this->form->addFieldToVLF($listName, new CoreFormFieldText('fileTitle'));
         $this->addModelFileTypeField($listName);
         $this->form->addFieldToVLF($listName, new CoreFormFieldFile('_fileUpload'));
     }
 }
 protected function createFormFields()
 {
     parent::createFormFields();
     $this->form->addField(new CoreFormFieldText('startRegisterTime'));
     $this->form->addField(new CoreFormFieldText('endRegisterTime'));
 }
 protected function createFormFields()
 {
     parent::createFormFields();
     $this->form->addField(new CoreFormFieldText('settingName'));
     $this->form->addField(new CoreFormFieldCheckbox('settingState'));
 }