summaryrefslogtreecommitdiffstats
path: root/application/forms/GroupRequest.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/forms/GroupRequest.php')
-rw-r--r--application/forms/GroupRequest.php42
1 files changed, 0 insertions, 42 deletions
diff --git a/application/forms/GroupRequest.php b/application/forms/GroupRequest.php
deleted file mode 100644
index ec717de..0000000
--- a/application/forms/GroupRequest.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-class Application_Form_GroupRequest extends Zend_Form
-{
- private $grouplist;
-
- public function setGrouplist($grouplist){
- $this->grouplist = $grouplist;
-
- }
-
- public function getGrouplist(){
- return $this->grouplist;
- }
-
- public function init()
- {
- $this->setName("GroupRequest");
- $this->setMethod('post');
-
- $groupfield = $this->createElement('select','groupID');
- $groupfield ->setLabel('Group:');
-
- if(count($this->grouplist)>0){
- foreach($this->grouplist as $group => $g){
- $groupfield->addMultiOption($g->getID(), $g->getTitle());
- }
- }
-
- $groupfield->setRegisterInArrayValidator(false);
- $this->addElement($groupfield);
-
- $this->addElement('submit', 'request', array(
- 'required' => false,
- 'ignore' => true,
- 'label' => 'Request Membership',
- ));
-
- }
-
-}
-