getModel(self :: MODEL); $this -> itemId = JRequest :: getUInt('Itemid', 0); $institutionId = JRequest :: getString('institutionId'); $locale = JFactory :: getLanguage() -> getTag(); JViewLegacy:: loadHelper('PiwikHelper'); PiwikHelper :: logPageView('searchOrganizationDatasources', 'organization=' . urlencode($institutionId) . '&locale=' . urlencode($locale)); $this -> institution = $model -> getOrganization($institutionId, $locale); $this -> result = $model -> getOrganizationDatasources($institutionId, 1, $locale); $this -> result = ($this -> result == NULL) ? NULL : $model -> getOrganizationDatasources($institutionId, $this -> result -> totalDatasources, $locale); if (count($errors = $this -> get('Errors')) > 0) { JLog :: add('Error viewing ingestion2: ' . implode("\n", $errors), JLog :: ERROR, self :: LOG); return FALSE; } parent :: display($template); } }