15461 |
efrain |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
declare(strict_types=1);
|
|
|
4 |
|
|
|
5 |
namespace LeadersLinked\Form\RecruitmentSelection;
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
use Laminas\Form\Form;
|
|
|
9 |
use Laminas\Db\Adapter\AdapterInterface;
|
|
|
10 |
use Laminas\Log\LoggerInterface;
|
|
|
11 |
use LeadersLinked\Mapper\IndustryMapper;
|
|
|
12 |
use LeadersLinked\Mapper\RecruitmentSelectionVacancyMapper;
|
|
|
13 |
use LeadersLinked\Mapper\RecruitmentSelectionCandidateMapper;
|
|
|
14 |
use LeadersLinked\Model\RecruitmentSelectionCandidate;
|
|
|
15 |
use LeadersLinked\Model\RecruitmentSelectionApplication;
|
|
|
16 |
|
|
|
17 |
class RecruitmentSelectionApplicationStatusForm extends Form
|
|
|
18 |
{
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
public function __construct()
|
|
|
22 |
{
|
|
|
23 |
parent::__construct();
|
|
|
24 |
$this->setInputFilter(new RecruitmentSelectionApplicationStatusFilter());
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
$this->add([
|
|
|
29 |
'name' => 'status',
|
|
|
30 |
'type' => \Laminas\Form\Element\Select::class,
|
|
|
31 |
'options' => [
|
|
|
32 |
'empty_option' => 'LABEL_STATUS',
|
|
|
33 |
'value_options' => [
|
|
|
34 |
RecruitmentSelectionApplication::STATUS_ACTIVE => 'LABEL_ACTIVE',
|
|
|
35 |
RecruitmentSelectionApplication::STATUS_INACTIVE => 'LABEL_INACTIVE',
|
|
|
36 |
RecruitmentSelectionApplication::STATUS_SELECTED => 'LABEL_SELECTED',
|
|
|
37 |
RecruitmentSelectionApplication::STATUS_REJECTED => 'LABEL_REJECTED',
|
|
|
38 |
],
|
|
|
39 |
],
|
|
|
40 |
'attributes' => [
|
|
|
41 |
'id' => 'status',
|
|
|
42 |
]
|
|
|
43 |
]);
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
}
|