Proyectos de Subversion LeadersLinked - Services

Rev

Rev 312 | | Comparar con el anterior | Ultima modificación | Ver Log |

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