Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
16295 anderson 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace LeadersLinked\Form\Chat;
6
 
7
use Laminas\Form\Form;
8
 
9
class CreateGroupForm extends Form
10
{
11
 
12
    public function __construct()
13
    {
14
        parent::__construct();
15
        $this->setInputFilter(new CreateGroupFilter());
16
 
17
        $this->add([
18
            'name' => 'name',
19
            'type' => \Laminas\Form\Element\Text::class,
20
            'attributes' => [
21
                'maxlength' 	=> 50,
22
                'id' 			=> 'name',
23
            ]
24
        ]);
25
 
26
    }
27
}