예제 #1
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();
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->_value = array();
 }
예제 #4
0
파일: checkbox.php 프로젝트: wir/WP-Tiles
 public function __construct()
 {
     parent::__construct();
     $this->_value = array();
     $this->add_container_extra_classes('vp-checked-field');
 }
예제 #5
0
 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());
 }