Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
15540 efrain 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace LeadersLinked\Form\Engagement;
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
 
13
 
14
class EngagementSettingForm extends Form
15
{
16
 
17
    public function __construct()
18
    {
19
        parent::__construct();
20
        $this->setInputFilter(new EngagementSettingFilter());
21
 
22
        $this->add([
23
            'name' => 'daily_pulse_how_are_you_feel',
24
            'type' => \Laminas\Form\Element\Number::class,
25
            'attributes' => [
26
                'id'    => 'daily_pulse_how_are_you_feel',
27
                'step'  => 1,
28
                'min'   => 0,
29
            ]
30
        ]);
31
 
32
        $this->add([
33
            'name' => 'daily_pulse_climate_on_your_organization',
34
            'type' => \Laminas\Form\Element\Number::class,
35
            'attributes' => [
36
                'id' 			=> 'daily_pulse_climate_on_your_organization',
37
                'step'  => 1,
38
                'min'   => 0,
39
            ],
40
        ]);
41
 
42
 
43
        $this->add([
44
            'name' => 'feed_survey',
45
            'type' => \Laminas\Form\Element\Number::class,
46
            'attributes' => [
47
                'id'    => 'feed_survey',
48
                'step'  => 1,
49
                'min'   => 0,
50
            ]
51
        ]);
52
 
53
        $this->add([
54
            'name' => 'internal_survey',
55
            'type' => \Laminas\Form\Element\Number::class,
56
            'attributes' => [
57
                'id' 			=> 'internal_survey',
58
                'step'  => 1,
59
                'min'   => 0,
60
            ],
61
        ]);
62
 
63
 
64
    }
65
}