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