Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1336 Rev 14989
Línea 22... Línea 22...
22
        $this->add([
22
        $this->add([
23
            'name' => 'description',
23
            'name' => 'description',
24
            'type' => \Laminas\Form\Element\Textarea::class,
24
            'type' => \Laminas\Form\Element\Textarea::class,
25
            'attributes' => [
25
            'attributes' => [
26
                'id'    => 'description',
26
                'id'    => 'description',
-
 
27
                'maxlength' => 128,
27
            ]
28
            ]
28
        ]);
29
        ]);
29
        
30
 
30
        $this->add([
31
        $this->add([
31
            'name' => 'status',
32
            'name' => 'status',
32
            'type' => \Laminas\Form\Element\Checkbox::class,
33
            'type' => \Laminas\Form\Element\Checkbox::class,
33
            'attributes' => [
34
            'attributes' => [
34
                'id' 			=> 'status',
35
                'id' 			=> 'status',
Línea 37... Línea 38...
37
                'use_hidden_element' => 0,
38
                'use_hidden_element' => 0,
38
                'unchecked_value' => \LeadersLinked\Model\Behavior::STATUS_INACTIVE,
39
                'unchecked_value' => \LeadersLinked\Model\Behavior::STATUS_INACTIVE,
39
                'checked_value'=> \LeadersLinked\Model\Behavior::STATUS_ACTIVE,
40
                'checked_value'=> \LeadersLinked\Model\Behavior::STATUS_ACTIVE,
40
            ]
41
            ]
41
        ]);
42
        ]);
-
 
43
     
Línea 42... Línea 44...
42
 
44
 
43
    }
45
    }
44
}
46
}