/**
  * Render the grid itself.
  * @param HISTORY_ITEM[] $objects
  * @access private
  */
 protected function _draw($objects)
 {
     foreach ($objects as $obj) {
         if (isset($this->_last_time)) {
             $this->_time_diffs[] = $this->_last_time->diff($obj->time_created);
         }
         $this->_last_time = $obj->time_created;
     }
     parent::_draw($objects);
 }
 protected function _draw($objects)
 {
     $class_name = $this->app->final_class_name('SELECTION_COMMANDS', 'webcore/cmd/selection_commands.php');
     /** @var $commands SELECTION_COMMANDS */
     $commands = new $class_name($this->_form, 'subscriber_ids');
     $menu_renderer = $this->app->make_menu_renderer();
     $menu_renderer->set_size($this->menu_size);
     echo '<div class="button-content">';
     $menu_renderer->display($commands);
     echo '</div>';
     parent::_draw($objects);
 }