diff options
| author | michael pereira | 2011-03-05 13:12:23 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-05 13:12:23 +0100 |
| commit | 92e5b7a7b6bb780ef5e788b7711f8a999ac80f41 (patch) | |
| tree | 9886c2229205ea8478e9a0bf0ca9fc5fb8de68e8 /application/forms/AuthDelete.php | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-92e5b7a7b6bb780ef5e788b7711f8a999ac80f41.tar.gz pbs2-92e5b7a7b6bb780ef5e788b7711f8a999ac80f41.tar.xz pbs2-92e5b7a7b6bb780ef5e788b7711f8a999ac80f41.zip | |
bootos v1
Diffstat (limited to 'application/forms/AuthDelete.php')
| -rw-r--r-- | application/forms/AuthDelete.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/application/forms/AuthDelete.php b/application/forms/AuthDelete.php new file mode 100644 index 0000000..4e9c92d --- /dev/null +++ b/application/forms/AuthDelete.php @@ -0,0 +1,28 @@ +<?php + +class Application_Form_AuthDelete extends Zend_Form +{ + + public function init() + { + $this->setName("Delete"); + $this->setMethod('post'); + + $this->addElement('text', 'ID', array( + 'filters' => array('StringTrim'), + 'validators' => array( + array('StringLength', false, array(0, 50)), + ), + 'required' => true, + 'label' => 'ID:', + )); + $this->addElement('submit', 'delete', array( + 'required' => false, + 'ignore' => true, + 'label' => 'Delete', + )); + } + + +} + |
