sathyashrayan

form call

May 17th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. <?php
  2. namespace MarketPlace\Attributes\Form;
  3. use Zend\Form\Form;
  4.  
  5. class AttributesForm extends Form
  6. {
  7.    
  8.     public function init()
  9.     {  
  10.                        
  11.         $this->add(array(
  12.                 'name' => 'attribute_validation_type',
  13.                 'type' => 'MarketPlace\Attributes\Form\Element\AttributesValidations',
  14.         ));
  15.        
  16.        
  17.     }
  18.    
  19. }
Add Comment
Please, Sign In to add comment