Пример #1
0
 /**
  * Updates the client-side options if the item list has changed after the OnLoad event.
  */
 public function onPreRender($param)
 {
     parent::onPreRender($param);
     $this->getAdapter()->updateListItems();
     $multiple = $this->getIsMultiSelect();
     $id = $this->getUniqueID();
     $multi_id = $id . '[]';
     if ($multiple) {
         $this->getPage()->registerPostDataLoader($multi_id);
     }
 }
Пример #2
0
 /**
  * Updates the client-side options if the item list has changed after the OnLoad event.
  */
 public function onPreRender($param)
 {
     parent::onPreRender($param);
     $this->getAdapter()->updateListItems();
 }