AutorÃa | Ultima modificación | Ver Log |
<?phpdeclare(strict_types=1);namespace LeadersLinked\Form\RecruitmentSelection;use Laminas\Form\Form;use Laminas\Db\Adapter\AdapterInterface;use Laminas\Log\LoggerInterface;use LeadersLinked\Mapper\IndustryMapper;use LeadersLinked\Mapper\RecruitmentSelectionVacancyMapper;use LeadersLinked\Mapper\RecruitmentSelectionCandidateMapper;use LeadersLinked\Model\RecruitmentSelectionCandidate;use LeadersLinked\Model\RecruitmentSelectionApplication;class RecruitmentSelectionApplicationStatusForm extends Form{public function __construct(){parent::__construct();$this->setInputFilter(new RecruitmentSelectionApplicationStatusFilter());$this->add(['name' => 'status','type' => \Laminas\Form\Element\Select::class,'options' => ['empty_option' => 'LABEL_STATUS','value_options' => [RecruitmentSelectionApplication::STATUS_ACTIVE => 'LABEL_ACTIVE',RecruitmentSelectionApplication::STATUS_INACTIVE => 'LABEL_INACTIVE',RecruitmentSelectionApplication::STATUS_SELECTED => 'LABEL_SELECTED',RecruitmentSelectionApplication::STATUS_REJECTED => 'LABEL_REJECTED',],],'attributes' => ['id' => 'status',]]);}}