15461 |
efrain |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
declare(strict_types=1);
|
|
|
4 |
|
|
|
5 |
namespace LeadersLinked\Form\RecruitmentSelection;
|
|
|
6 |
|
|
|
7 |
use Laminas\Form\Form;
|
|
|
8 |
use Laminas\Db\Adapter\AdapterInterface;
|
|
|
9 |
use Laminas\Log\LoggerInterface;
|
|
|
10 |
use LeadersLinked\Mapper\IndustryMapper;
|
|
|
11 |
use LeadersLinked\Mapper\RecruitmentSelectionVacancyMapper;
|
|
|
12 |
use LeadersLinked\Mapper\RecruitmentSelectionCandidateMapper;
|
|
|
13 |
use LeadersLinked\Model\RecruitmentSelectionApplication;
|
|
|
14 |
use LeadersLinked\Model\RecruitmentSelectionCandidate;
|
|
|
15 |
|
|
|
16 |
class RecruitmentSelectionApplicationLevelForm extends Form
|
|
|
17 |
{
|
|
|
18 |
|
|
|
19 |
public function __construct()
|
|
|
20 |
{
|
|
|
21 |
parent::__construct();
|
|
|
22 |
$this->setInputFilter(new RecruitmentSelectionApplicationPointsAndCommentFilter());
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
$this->add([
|
|
|
26 |
'name' => 'level',
|
|
|
27 |
'type' => \Laminas\Form\Element\Select::class,
|
|
|
28 |
'options' => [
|
|
|
29 |
'empty_option' => 'LABEL_LEVEL',
|
|
|
30 |
'value_options' => [
|
|
|
31 |
RecruitmentSelectionApplication::LEVEL_CAPTURE => 'LABEL_CAPTURE',
|
|
|
32 |
RecruitmentSelectionApplication::LEVEL_PRE_SELECTION => 'LABEL_PRE_SELECTION',
|
|
|
33 |
RecruitmentSelectionApplication::LEVEL_HUMAN_RESOURCE_INTERVIEW => 'LABEL_HUMAN_RESOURCE',
|
|
|
34 |
RecruitmentSelectionApplication::LEVEL_BOSS_RESOURCE_INTERVIEW => 'LABEL_BOSS_INTERVIEW',
|
|
|
35 |
RecruitmentSelectionApplication::LEVEL_FINISHED => 'LABEL_FINISHED',
|
|
|
36 |
],
|
|
|
37 |
],
|
|
|
38 |
'attributes' => [
|
|
|
39 |
'id' => 'level',
|
|
|
40 |
]
|
|
|
41 |
]);
|
|
|
42 |
}
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
}
|