layout = JRequest :: getString('layout', self :: HTML); //http://rudie.di.uoa.gr:8080/dnet-functionality-services-1.2.0-SNAPSHOT/api/projects?format=csv&participantAcronyms=NTUA $this->size = JRequest :: getInt('size'); $this->funder = JRequest :: getString('funder', NULL); $locale = JFactory :: getLanguage()->getTag(); $this->participantAcronyms = JRequest :: getString('participantAcronyms'); $this->participantID = JRequest :: getString('participantID'); $model = $this->getModel(self :: MODEL); $url = 'api/projects?format=' . $this->layout . '&openaireParticipantID=' . $this->participantID . '&size='.$this->size.(($this -> funder !=null)?'&funder='.$this -> funder:''); //$url = 'api/projects?format=' . $this->layout . '&participantAcronyms=' . $this->participantAcronyms.'&size='.$this->size.(($this -> funder !=null)?'&funder='.$this -> funder:''); $this->result=0; if($this->size!==0){ $this->result = $model->browseProjectsRaw($url); } if (count($errors = $this->get('Errors')) > 0) { JLog :: add('Error viewing publications: ' . implode("\n", $errors), JLog :: ERROR, self :: LOG); return FALSE; } parent :: display($template); } }