Proyectos de Subversion LeadersLinked - Services

Rev

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

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