Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev Autor Línea Nro. Línea
211 efrain 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace LeadersLinked\Form\Auth;
6
 
7
use Laminas\Form\Form;
8
 
9
class SigninDebugForm extends Form
10
{
11
    /**
12
     *
13
     * @param array $config
14
     */
15
    public function __construct($config)
16
    {
17
        parent::__construct();
18
        $this->setInputFilter(new SigninDebugFilter());
19
 
20
         $this->add([
21
            'name' => 'email',
22
            'type' => \Laminas\Form\Element\Text::class,
23
            'attributes' => [
24
                'maxlength' 	=> 250,
25
                'id' 			=> 'email',
26
            ]
27
        ]);
28
         $this->add([
29
             'name' => 'password',
30
             'type' => \Laminas\Form\Element\Password::class,
31
             'attributes' => [
283 www 32
                 'maxlength' => 25,
211 efrain 33
                 'id' => 'password',
34
             ]
35
         ]);
36
         $this->add([
37
             'name' => 'remember',
38
             'type' => \Laminas\Form\Element\Checkbox::class,
39
             'attributes' => [
40
                 'id' => 'remember',
41
             ],
42
             'options' => [
43
                'use_hidden_element' => false,
44
                'unchecked_value' => '0',
45
                'checked_value' => '1',
46
             ]
47
         ]);
48
 
49
 
50
 
51
 
52
 
53
 
54
    }
55
 
56
 
57
}