/**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'number');
     $this->_data['max'] = $this->_max;
     $this->_data['min'] = $this->_min;
     $this->_data['step'] = $this->_step;
     $this->_data['placeholder'] = $this->_placeholder;
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'queryfilter');
     $this->_data['taxonomies'] = array();
     $this->_data['hide_num'] = false;
     $this->_data['labels'] = array('num' => __('Number of items to show', 'thb_text_domain'), 'filter' => __('Filter by taxonomy', 'thb_text_domain'), 'include_subcategories' => __('Include subcategories', 'thb_text_domain'), 'orderby' => __('Order by', 'thb_text_domain'));
     $this->_data['orderby_options'] = array('date' => __('Date', 'thb_text_domain'), 'title' => __('Alphabetically', 'thb_text_domain'), 'rand' => __('Random', 'thb_text_domain'));
     $this->_data['order_options'] = array('desc' => __('Descending', 'thb_text_domain'), 'asc' => __('Ascending', 'thb_text_domain'));
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'classicupload');
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'gallery');
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'date');
     $this->_data['format'] = $this->_format;
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'keyvalue');
 }
Example #7
0
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, THB_TEMPLATE_DIR . '/config/home_page/home-page-slide-field');
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'textarea');
 }
Example #9
0
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, thb_get_module_path('core/contact') . '/templates/contact-info-field');
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'graphicradio');
     $this->_data['field_options'] = array();
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'slide');
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'color');
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'font');
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'checkbox');
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'text');
     $this->_data['placeholder'] = $this->_placeholder;
 }
 /**
  * Constructor
  *
  * @param string $name The field name.
  **/
 public function __construct($name)
 {
     parent::__construct($name, 'select');
     $this->_data['field_options'] = array();
 }