hajtest
Current file: D:\websites\haj\application\forms\User.php
Legend: executed not executed dead code

  Coverage
  Classes Functions / Methods Lines
Total
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 31
 
Application_Form_User
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 31
 public function init()
0.00%0.00%
0.00% 0 / 1
0.00%0.00%
0.00% 0 / 30


       1                 : <?php                                                                
       2                 :                                                                      
       3                 : class Application_Form_User extends Application_Form_Base            
       4               0 : {                                                                    
       5                 :                                                                      
       6                 :     public function init()                                           
       7                 :     {                                                                
       8               0 :         $this->addElements(array(                                    
       9               0 :             new Zend_Form_Element_Text('email', array(               
      10               0 :                 'required' => true,                                  
      11               0 :                 'label' => 'Email Address:',                         
      12               0 :                 'filters' => array('StringTrim', 'StringToLower'),   
      13               0 :                 'validators' => array('emailAddress'),               
      14               0 :                 'decorators' => $this->_defaultDecorators,           
      15               0 :             )),                                                      
      16               0 :             new Zend_Form_Element_Password('password', array(        
      17               0 :                 'required' => true,                                  
      18               0 :                 'label' => 'Password:',                              
      19               0 :                 'filters' => array('StringTrim'),                    
      20                 :                 'validators' => array(                               
      21               0 :                     'NotEmpty',                                      
      22               0 :                     array('StringLength', false, array(6))           
      23               0 :                 ),                                                   
      24               0 :                 'decorators' => $this->_defaultDecorators,           
      25               0 :             )),                                                      
      26               0 :             new Zend_Form_Element_Password('password_repeat', array( 
      27               0 :                 'required' => true,                                  
      28               0 :                 'label' => 'Repeat Pass:',                           
      29               0 :                 'filters' => array('StringTrim'),                    
      30                 :                 'validators' => array(                               
      31               0 :                     'NotEmpty',                                      
      32               0 :                     array('StringLength', false, array(6))           
      33               0 :                 ),                                                   
      34               0 :                 'decorators' => $this->_defaultDecorators,           
      35               0 :             )),                                                      
      36               0 :         ));                                                          
      37                 :                                                                      
      38               0 :         $this->_bindings['email'] = array('email', null);            
      39               0 :         $this->_bindings['password'] = array('md5_pass', null);      
      40                 :                                                                      
      41                 : //        $element->setDecorators(array(                             
      42                 : //    'ViewHelper',                                                  
      43                 : //    'Description',                                                 
      44                 : //    'Errors',                                                      
      45                 : //    array(array('elementDiv' => 'HtmlTag'), array('tag' => 'div')),
      46                 : //    array(array('td' => 'HtmlTag'), array('tag' => 'td')),         
      47                 : //    array('Label', array('tag' => 'td')),                          
      48                 : //));                                                                
      49               0 :     }                                                                
      50                 :                                                                      

Generated by PHPUnit 3.4.15 and Xdebug 2.1.0rc1 using PHP 5.3.1 at Mon Jan 17 15:42:18 PST 2011.