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