예제 #1
0
 /**
  * Creates option
  *
  * @return void
  *              @since 1.0
  **/
 public function __construct($field, $value, $attr, $oxy_typography)
 {
     $this->oxy_typography = $oxy_typography;
     $field['options'] = $this->load_select_data();
     $attr['class'] = 'font-select select2';
     parent::__construct($field, $value, $attr);
 }
예제 #2
0
 /**
  * Creates option
  *
  * @return void
  *              @since 1.0
  **/
 public function __construct($field, $value, $attr)
 {
     $field['options'] = $this->load_select_data();
     $this->set_attr('value', $value);
     parent::__construct($field, $value, $attr);
 }