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(); }
protected function _setup_data() { parent::_setup_data(); $this->add_data('item_max_height', $this->get_item_max_height()); $this->add_data('item_max_width', $this->get_item_max_width()); }