forked from parapheur/start
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRefuse.php
44 lines (34 loc) · 844 Bytes
/
Refuse.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/*
* Fichier : Refuse.php
* Auteur : Hina Tufail
* Créé : 16/11/2013
* Modifié : 16/11/2013
* 1.1 : Hina Tufail - création et modification
* Formulaire de refus d'un document
*
* Projet parapheur 2014
*/
class Application_Form_Refuse extends Zend_Form
{
public function init()
{
// HTTP méthode utilisée : Post
$this->setAttrib('enctype', 'multipart/form-data');
$this->setMethod('post');
// Contenu du commentaire
$this->addElement('textarea', 'text_commentaire_refuse', array(
'class' => 'on-right',
'required' => false,
'attribs' => array(
'id'=>'type_id',
)
));
// Bouton - soumettre le formulaire
$this->addElement('submit', 'Refuser', array(
'ignore' => true,
'label' => 'Refuser',
'class' => 'red-button on-right'
));
}
}