Beispiel #1
0
 public function grid()
 {
     $name = 'Отзывы';
     $data = self::read();
     $grid = new GRID($name, $this->map, $data);
     return $grid->get();
 }
Beispiel #2
0
 /**
  * Configure the grid before displaying.
  * @param GRID $grid The grid to be displayed.
  * @access private
  */
 protected function _set_up_grid($grid)
 {
     if ($this->uses_time_selector && $this->_panel_manager->time_menu) {
         $this->_panel_manager->time_menu->prepare_query($this->query);
     }
     $grid->set_query($this->query);
 }