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