示例#1
0
 protected function _setup_data()
 {
     $opt = array('format' => $this->get_format());
     $this->add_data('opt', VP_Util_Text::make_opt($opt));
     $this->add_data('opt_raw', $opt);
     parent::_setup_data();
 }
示例#2
0
 protected function _setup_data()
 {
     $opt = array('maximumSelectionSize' => $this->get_max_selection());
     $this->add_data('opt', VP_Util_Text::make_opt($opt));
     $this->add_data('opt_raw', $opt);
     parent::_setup_data();
 }
示例#3
0
 protected function _setup_data()
 {
     $opt = array('min' => $this->get_min(), 'max' => $this->get_max(), 'step' => $this->get_step(), 'value' => $this->get_value());
     $this->add_data('opt', VP_Util_Text::make_opt($opt));
     $this->add_data('opt_raw', $opt);
     parent::_setup_data();
 }
示例#4
0
 protected function _setup_data()
 {
     $opt = array('use_external_plugins' => $this->use_external_plugins(), 'disabled_externals_plugins' => implode(',', $this->get_disabled_externals_plugins()), 'disabled_internals_plugins' => implode(',', $this->get_disabled_internals_plugins()));
     $this->add_data('opt', VP_Util_Text::make_opt($opt));
     $this->add_data('opt_raw', $opt);
     parent::_setup_data();
 }
示例#5
0
 protected function _setup_data()
 {
     $opt = array('mode' => $this->get_editor_mode(), 'theme' => $this->get_editor_theme());
     $this->add_data('opt', VP_Util_Text::make_opt($opt));
     parent::_setup_data();
 }
示例#6
0
 protected function _setup_data()
 {
     $opt = array('minDate' => $this->get_min_date(), 'maxDate' => $this->get_max_date(), 'dateFormat' => $this->get_format(), 'value' => $this->get_value());
     $this->add_data('opt', VP_Util_Text::make_opt($opt));
     parent::_setup_data();
 }