Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 17178 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 17178 Rev 17235
Línea 3... Línea 3...
3
declare(strict_types=1);
3
declare(strict_types=1);
Línea 4... Línea 4...
4
 
4
 
Línea 5... Línea 5...
5
namespace LeadersLinked\Form\Microlearning;
5
namespace LeadersLinked\Form\Microlearning;
6
 
-
 
7
use Laminas\Form\Form;
-
 
Línea 8... Línea 6...
8
use Laminas\Form\Element\Textarea;
6
 
9
use Laminas\Form\Element\Hidden;
7
use Laminas\Form\Form;
Línea 10... Línea 8...
10
 
8
 
Línea 17... Línea 15...
17
        $this->setInputFilter(new CapsuleEditFilter());
15
        $this->setInputFilter(new CapsuleEditFilter());
Línea 18... Línea 16...
18
 
16
 
19
        
17
        
20
        $this->add([
18
        $this->add([
21
            'name' => 'name',
19
            'name' => 'name',
22
            'type' => Textarea::class,
20
            'type' => \Laminas\Form\Element\Textarea::class,
23
            'attributes' => [
21
            'attributes' => [
24
                'id'    => 'name',
22
                'id'    => 'name',
Línea 25... Línea 23...
25
            ]
23
            ]
26
        ]);
24
        ]);
27
        
25
        
28
        $this->add([
26
        $this->add([
29
            'name' => 'description',
27
            'name' => 'description',
30
            'type' => Textarea::class,
28
            'type' => \Laminas\Form\Element\Textarea::class,
31
            'attributes' => [
29
            'attributes' => [
Línea 32... Línea 30...
32
                'id'    => 'description',
30
                'id'    => 'description',
33
            ]
31
            ]
34
        ]);
32
        ]);
35
        
33
        
36
        $this->add([
34
        $this->add([
37
            'name' => 'file',
35
            'name' => 'file',
38
            'type' => Hidden::class,
36
            'type' => \Laminas\Form\Element\Hidden::class,
39
            'attributes' => [
37
            'attributes' => [