/** * Render the grid itself. * @param ALBUM_ENTRY[] $objects * @access private */ protected function _draw($objects) { if (sizeof($objects)) { $this->_url = new URL($objects[0]->home_page()); $url = new URL($this->env->url(Url_part_no_host_path)); $this->_url->replace_arguments($url->query_string()); } parent::_draw($objects); }