summaryrefslogblamecommitdiffstats
path: root/application/forms/AuthDelete.php
blob: 4e9c92d7149caae3c4a4045386c75735eee58020 (plain) (tree)



























                                                                           
<?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',
        ));  
    }


}