Пример #1
0
 public function isValid()
 {
     $valid = parent::isValid();
     $events = $this->getEventManager();
     $events->trigger(FormEvent::EVENT_VALIDATE, $this, ['isValid' => $valid]);
     return $valid;
 }
Пример #2
0
 public function init()
 {
     $this->options['disable_capable'] = array('description' => 'Request additional facts from the Applicant. Selected Fields will be added to the application Form.');
     $this->setLabel('Facts');
     $this->setIsDescriptionsEnabled(true);
     $this->setDescription('Please provide some additional facts for this job opening.');
     $this->setIsDisableCapable(true);
     $this->setIsDisableElementsCapable(true);
     parent::init();
 }
Пример #3
0
 public function setObject($object)
 {
     if ($object instanceof JobInterface && null === $object->getOrganization()) {
         $fs = $this->getBaseFieldset();
         $hiringOrgSelect = $fs->get('companyId');
         $orgValues = $hiringOrgSelect->getValueOptions();
         if (1 == count($orgValues)) {
             $value = key($orgValues);
             $hiringOrgSelect->setValue($value);
             $this->setDisplayMode(self::DISPLAY_SUMMARY);
             $fs->getHydrator()->hydrate(array('companyId' => $value), $object);
         }
     }
     return parent::setObject($object);
 }
Пример #4
0
 public function init()
 {
     $this->setOptions(array('headscript' => 'Jobs/js/form.ats-mode.js'));
     parent::init();
 }
Пример #5
0
 public function init()
 {
     $this->setDescription('Please select a language and self-assess your level');
     $this->setIsDescriptionsEnabled(true);
     parent::init();
 }
Пример #6
0
 public function init()
 {
     $this->setLabel('Personal informations');
     parent::init();
 }
Пример #7
0
 public function addButtonsFieldset()
 {
     parent::addButtonsFieldset();
     $this->get('buttons')->remove('submit');
 }
Пример #8
0
 public function init()
 {
     //  $this->setDescription(/*@translate*/' Where do you want to work tomorrow. This heading gives an immediate overview of your desired next job.');
     $this->setIsDescriptionsEnabled(true);
     parent::init();
 }
Пример #9
0
 public function init()
 {
     $this->setLabel('status');
     parent::init();
 }
Пример #10
0
 public function init()
 {
     $this->setDescription('Focus on the work experience that gives added weight to your application. Add separate entries for each course. Start from the most recent.');
     $this->setIsDescriptionsEnabled(true);
     parent::init();
 }
Пример #11
0
 public function init()
 {
     $this->setDescription(' Focus on the work experience that gives added weight to your application.<br>Add separate entries for each experience. Start with the most recent.<br>If your work experience is limited:<ul><li>describe your education and training first</li><li>mention volunteering or (paid/unpaid) work placements which provide evidence of work experience.</li></ul>');
     $this->setIsDescriptionsEnabled(true);
     parent::init();
 }