getModel(self :: MODEL); $locale = JFactory :: getLanguage() -> getTag(); $this -> keyword = JRequest :: getString('keyword'); $this -> itemId = JRequest :: getString('Itemid'); $this -> size = self :: SIZE; $this -> result = ($this -> keyword == NULL) ? $model -> getDatasetStatistics($locale, false) : $model -> searchDatasets($this -> keyword, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, self :: PAGE, self :: SIZE, $locale,FALSE); if (count($errors = $this -> get('Errors')) > 0) { JLog :: add('Error viewing raw search datasets: ' . implode("\n", $errors), JLog :: ERROR, self :: LOG); return FALSE; } parent :: display($template); } }