id = $id; $this->mode = $mode; $this->renderer = $renderer; $this->searchConfig = $searchConfig; $this->data = $searchConfig->getConf(); $this->columns = $searchConfig->getColumns(); $this->result = $this->searchConfig->execute(); $this->resultCount = $this->searchConfig->getCount(); $this->helper = plugin_load('helper', 'struct_config'); } /** * Returns the page id the aggregation is used on */ public function getID() { return $this->id; } /** * Create the table on the renderer * * @param bool $showNotFound show a not found message when no data available? */ abstract public function render($showNotFound = false); }