Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
16798 efrain 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace LeadersLinked\Form\Communication;
6
 
7
use Laminas\Form\Form;
8
use Laminas\Db\Adapter\AdapterInterface;
9
use Laminas\Log\LoggerInterface;
10
use LeadersLinked\Mapper\CompanySizeMapper;
11
use LeadersLinked\Mapper\IndustryMapper;
12
use LeadersLinked\Model\Feed;
13
 
14
class CommunicationForm extends Form
15
{
16
 
17
    public function __construct()
18
    {
19
        parent::__construct();
20
        $this->setInputFilter(new CommunicationFilter());
21
 
22
 
23
        $this->add([
24
            'name' => 'message',
25
            'type' => \Laminas\Form\Element\Textarea::class,
26
            'attributes' => [
27
                'id'    => 'message',
28
            ]
29
        ]);
30
 
31
        $this->add([
32
            'name' => 'file',
33
            'type' => \Laminas\Form\Element\File::class,
34
             'attributes' => [
35
                'id' => 'file',
36
            ]
37
         ]);
38
 
39
        $this->add([
40
            'name' => 'job_description_id',
41
            'type' => \Laminas\Form\Element\Hidden::class,
42
            'attributes' => [
43
                'id'    => 'job_description_id',
44
            ]
45
        ]);
46
 
47
        $this->add([
48
            'name' => 'position_id',
49
            'type' => \Laminas\Form\Element\Hidden::class,
50
            'attributes' => [
51
                'id'    => 'position_id',
52
            ]
53
        ]);
54
 
55
        $this->add([
56
            'name' => 'user_selected_id',
57
            'type' => \Laminas\Form\Element\Hidden::class,
58
            'attributes' => [
59
                'id'    => 'user_selected_id',
60
            ]
61
        ]);
62
    }
63
}