Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
17002 efrain 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace LeadersLinked\Form;
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\RecruitmentSelectionCandidate;
14
 
15
class InterviewFileForm extends Form
16
{
17
 
18
    /**
19
     *
20
     * @param AdapterInterface $adapter
21
     * @param int $company_id
22
     */
23
    public function __construct($adapter, $company_id)
24
    {
25
        parent::__construct();
26
        $this->setInputFilter(new InterviewFileFilter($adapter));
27
 
28
        $this->add([
29
            'name' => 'file',
30
            'type' => \Laminas\Form\Element\File::class,
31
             'attributes' => [
32
                'id' => 'file',
33
            ]
34
         ]);
35
 
36
        $this->add([
37
            'name' => 'coment',
38
            'type' => \Laminas\Form\Element\Textarea::class,
39
             'attributes' => [
40
                'id' 			=> 'coment',
41
             ],
42
        ]);
43
 
44
        $this->add([
45
            'name' => 'title',
46
            'type' => \Laminas\Form\Element\Text::class,
47
             'attributes' => [
48
                'id' 			=> 'title',
49
             ],
50
        ]);
51
 
52
 
53
    }
54
 
55
}