diff options
| author | Simon | 2011-01-31 15:34:21 +0100 |
|---|---|---|
| committer | Simon | 2011-01-31 15:34:21 +0100 |
| commit | 6c07eb5e85f9705c83b0415a89dd05a19b138bce (patch) | |
| tree | 38c414878306cb3ba3bd2ebe5093473ecaabd4fb /application/forms/PersonRegister.php | |
| parent | Person Register Form (diff) | |
| download | pbs2-6c07eb5e85f9705c83b0415a89dd05a19b138bce.tar.gz pbs2-6c07eb5e85f9705c83b0415a89dd05a19b138bce.tar.xz pbs2-6c07eb5e85f9705c83b0415a89dd05a19b138bce.zip | |
auth controller vervollstÃĪndigt
Diffstat (limited to 'application/forms/PersonRegister.php')
| -rw-r--r-- | application/forms/PersonRegister.php | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/application/forms/PersonRegister.php b/application/forms/PersonRegister.php deleted file mode 100644 index 0babb27..0000000 --- a/application/forms/PersonRegister.php +++ /dev/null @@ -1,105 +0,0 @@ -<?php - -class Application_Form_PersonRegister extends Zend_Form -{ - - public function init() - { - $this->setName("Login"); - $this->setMethod('post'); - - $this->addElement('text', 'title', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Title:', - )); - - - $this->addElement('text', 'name', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Name:', - )); - - $this->addElement('text', 'firstname', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Firstname:', - )); - - $this->addElement('text', 'street', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Street:', - )); - - $this->addElement('text', 'housenumber', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Housenumber:', - )); - - $this->addElement('text', 'city', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'City:', - )); - - $this->addElement('text', 'postalcode', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Postalcode:', - )); - - $this->addElement('text', 'email', array( - 'filters' => array('StringTrim', 'StringToLower'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Email:', - )); - - $this->addElement('password', 'password', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Password:', - )); - - $this->addElement('submit', 'register', array( - 'required' => false, - 'ignore' => true, - 'label' => 'Login', - )); - - - } - - - -} - |
