summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/RecoverPassword.php
blob: 22a775f94bec1bc0591219e8625ba6755be0d152 (plain) (blame)
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
<?php

class user_Form_RecoverPassword extends Zend_Form
{

	public function init()
	{
		$this->setName("RecoverPassword");
		$this->setMethod('post');

		$this->addElement('text', 'email', array(
			'filters' => array('StringTrim'),
			'validators' => array(
		array('StringLength', false, array(0, 30)),
		),
			'required' => true,
			'label' => 'Email:',
		));
		$this->addElement('submit', 'recoverPassword', array(
            'required' => false,
            'ignore'   => true,
            'label'    => 'Recover',
		));
	}


}