Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16822 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16822 Rev 17002
Línea 13... Línea 13...
13
        $this->add([
13
        $this->add([
14
            'name' => 'message',
14
            'name' => 'message',
15
            'required' => false,
15
            'required' => false,
16
            'filters' => [
16
            'filters' => [
17
                ['name' => \Laminas\Filter\StringTrim::class],
17
                ['name' => \Laminas\Filter\StringTrim::class],
-
 
18
                ['name' => \LeadersLinked\Filter\HtmlPurify::class],
-
 
19
                [
18
                ['name' => \Laminas\Filter\StripTags::class],
20
                    'name' => \Laminas\Filter\StripTags::class,
-
 
21
                    'options' => [
-
 
22
                        'allowTags'     => [
-
 
23
                            'h1','h2','h3','h4','h5','h6','p','strong','em','s','span','big','small','tt',
-
 
24
                            'hr','table','thead','tr','th','td','img', 'a','style'
-
 
25
                        ],
-
 
26
                    ]
-
 
27
                    
-
 
28
                ],
19
            ],
29
            ],
20
            'validators' => [
30
            'validators' => [
21
                [
31
                [
22
                    'name' => \Laminas\Validator\NotEmpty::class,
32
                    'name' => \Laminas\Validator\NotEmpty::class,
23
                ],
33
                ],