getTag(); $this -> itemId = JRequest :: getUInt('Itemid', 0); $project_id = JRequest :: getString('project'); $publicationId = JRequest :: getString('publicationId'); $this -> project = $this -> getModel(self :: MODEL) -> getProject($project_id, $locale); $this -> project -> inferred = false; $this -> publication = $this -> getModel(self :: MODEL) -> getPublication($publicationId, $locale); if ($this -> publication) foreach ($this -> publication -> projects as $project){ if ($project -> id == $project_id ) { $this -> project -> inferred = $project -> inferred; $this -> project -> trust = $project -> trust; $this -> project -> provenance = $project -> provenance; } } if (count($errors = $this -> get('Errors')) > 0) { JLog :: add('Error viewing project fundings (raw): ' . implode("\n", $errors), JLog :: ERROR, self :: LOG); return FALSE; } parent :: display($template); } }