getModel(self :: MODEL); $this -> itemId = JRequest :: getUInt('Itemid', 0); $this -> personId = JRequest :: getString('personId'); $locale = JFactory :: getLanguage() -> getTag(); JView :: loadHelper('PiwikHelper'); PiwikHelper :: logPageView('viewPerson', 'personId=' . urlencode($this -> personId) . '&locale=' . urlencode($locale)); $this -> person = $model -> getPerson($this -> personId, $locale); $this -> publications = $model -> browsePublications(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, self :: PAGE, self :: SIZE, $locale, NULL, $this -> personId); $this -> datasets = $model -> browseDatasets(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, self :: PAGE, self :: SIZE, $locale, NULL, $this -> personId); if (count($errors = $this -> get('Errors')) > 0) { JLog :: add('Error viewing person: ' . implode("\n", $errors), JLog :: ERROR, self :: LOG); return FALSE; } parent :: display($template); } }