Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
15446 efrain 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace LeadersLinked\Form\SelfEvaluation;
6
 
7
use Laminas\Form\Form;
8
 
9
class SelfEvaluationTestForm extends Form
10
{
11
 
12
 
13
    public function __construct()
14
    {
15
        parent::__construct();
16
        $this->setInputFilter(new SelfEvaluationTestFilter());
17
 
18
        $this->add([
19
            'name' => 'content',
20
            'type' => \Laminas\Form\Element\Textarea::class,
21
            'attributes' => [
22
                'id'    => 'content',
23
            ]
24
        ]);
25
 
26
 
27
        $this->add([
28
            'name' => 'comments',
29
            'type' => \Laminas\Form\Element\Textarea::class,
30
            'attributes' => [
31
                'id'    => 'comments',
32
            ]
33
        ]);
34
 
35
 
36
 
37
    }
38
 
39
 
40
}