예제 #1
0
 public function isValid()
 {
     $valid = parent::isValid();
     $events = $this->getEventManager();
     $events->trigger(FormEvent::EVENT_VALIDATE, $this, ['isValid' => $valid]);
     return $valid;
 }
예제 #2
0
파일: Facts.php 프로젝트: webpants/YAWIK
 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
파일: AtsMode.php 프로젝트: vfulco/YAWIK
 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
파일: UserBase.php 프로젝트: webpants/YAWIK
 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();
 }