public function setUp()
 {
     $this->_formElementClass = 'Application_Form_Element_Checkbox';
     $this->_expectedDecoratorCount = 6;
     $this->_expectedDecorators = array('ViewHelper', 'Errors', 'Description', 'ElementHtmlTag', 'Label', 'dataWrapper');
     parent::setUp();
 }
 public function setUp()
 {
     $this->_formElementClass = 'Application_Form_Element_Password';
     $this->_expectedDecoratorCount = 8;
     $this->_expectedDecorators = array('ViewHelper', 'Placeholder', 'Description', 'ElementHint', 'Errors', 'ElementHtmlTag', 'LabelNotEmpty', 'dataWrapper');
     parent::setUp();
 }
Example #3
0
 public function setUp()
 {
     $this->_formElementClass = 'Application_Form_Element_File';
     $this->_expectedDecoratorCount = 5;
     $this->_expectedDecorators = array('File', 'Errors', 'ElementHtmlTag', 'LabelNotEmpty', 'dataWrapper');
     parent::setUp();
 }
Example #4
0
 public function setUp()
 {
     $this->_formElementClass = 'Application_Form_Element_Submit';
     $this->_expectedDecoratorCount = 3;
     $this->_expectedDecorators = array('ViewHelper', 'ElementHtmlTag', 'dataWrapper');
     parent::setUp();
 }
 public function setUp()
 {
     $this->_formElementClass = 'Application_Form_Element_MultiCheckbox';
     $this->_expectedDecoratorCount = 4;
     $this->_expectedDecorators = array('ViewHelper', 'ElementHtmlTag', 'LabelNotEmpty', 'dataWrapper');
     parent::setUp();
 }
 public function setUp()
 {
     $this->_formElementClass = 'Application_Form_Element_Textarea';
     $this->_expectedDecoratorCount = 6;
     $this->_expectedDecorators = array('ViewHelper', 'Errors', 'Description', 'ElementHtmlTag', 'LabelNotEmpty', 'dataWrapper');
     $this->_staticViewHelper = 'viewFormTextarea';
     parent::setUp();
 }
Example #7
0
 public function setUp()
 {
     $this->_formElementClass = 'Application_Form_Element_Hidden';
     $this->_expectedDecoratorCount = 1;
     $this->_expectedDecorators = array('ViewHelper');
     $this->_staticViewHelper = 'formHidden';
     parent::setUp();
 }
 public function setUp()
 {
     $this->keys = array('Null', 'A', 'C', 'E', 'H', 'L', 'S');
     $this->_formElementClass = 'Application_Form_Element_LanguageType';
     $this->_expectedDecoratorCount = 6;
     $this->_expectedDecorators = array('ViewHelper', 'Errors', 'Description', 'ElementHtmlTag', 'LabelNotEmpty', 'dataWrapper');
     $this->_staticViewHelper = 'viewFormSelect';
     parent::setUp();
 }
 public function setUp()
 {
     $this->keys = array('Name', 'Number', 'NameNumber', 'NumberName');
     $this->values = array('Name', 'Number', 'Name,Number', 'Number,Name');
     $this->_formElementClass = 'Application_Form_Element_CollectionDisplayFormat';
     $this->_expectedDecoratorCount = 6;
     $this->_expectedDecorators = array('ViewHelper', 'Errors', 'Description', 'ElementHtmlTag', 'LabelNotEmpty', 'dataWrapper');
     $this->_staticViewHelper = 'viewFormSelect';
     parent::setUp();
 }