sathyashrayan

AttributesElements.php

Mar 25th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. <?php
  2. namespace MarketPlace\Attributes\Form\Element;
  3.  
  4. use Zend\Form\Element;
  5.  
  6.  
  7. class AttributesElements  extends Element
  8. {
  9.     protected $attributes = array(
  10.             'type' => 'Zend\Form\Element\Select',
  11.             'name' => 'attributes',
  12.             'options' => array(
  13.                     'label' => 'Select Attribute Type',
  14.                     'empty_option' => 'Please choose your Type',
  15.                     'value_options' => array(
  16.                             '0' => 'French',
  17.                             '1' => 'English',
  18.                             '2' => 'Japanese',
  19.                             '3' => 'Chinese',
  20.                     ),
  21.             )
  22.     );
  23. }
Add Comment
Please, Sign In to add comment