Proyectos de Subversion LeadersLinked - Backend

Rev

Autoría | Ultima modificación | Ver Log |

<?php

declare(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\RecruitmentSelectionApplication;
use LeadersLinked\Model\RecruitmentSelectionCandidate;

class RecruitmentSelectionApplicationLevelForm extends Form
{

    public function __construct() 
    {
        parent::__construct();
        $this->setInputFilter(new RecruitmentSelectionApplicationPointsAndCommentFilter());

        
        $this->add([
            'name' => 'level',
            'type' => \Laminas\Form\Element\Select::class,
            'options' => [
                'empty_option' => 'LABEL_LEVEL',
                'value_options' => [
                    RecruitmentSelectionApplication::LEVEL_CAPTURE =>  'LABEL_CAPTURE',
                    RecruitmentSelectionApplication::LEVEL_PRE_SELECTION => 'LABEL_PRE_SELECTION',
                    RecruitmentSelectionApplication::LEVEL_HUMAN_RESOURCE_INTERVIEW => 'LABEL_HUMAN_RESOURCE',
                    RecruitmentSelectionApplication::LEVEL_BOSS_RESOURCE_INTERVIEW => 'LABEL_BOSS_INTERVIEW',
                    RecruitmentSelectionApplication::LEVEL_FINISHED => 'LABEL_FINISHED',
                ],
            ],
            'attributes' => [
                'id' => 'level',
            ]
        ]);
    }

    
}