openAIREWidgetCallback( depositionModel->getShortProjectInfoByGrant($ga)->acronym; $docs['openaireImageUrl'] = JRoute::_(JURI::base().'components/'.JRequest::getVar('option').'/images/logo_openaire_small.png'); foreach ($this->claimModel->getDocumentsByProject($ga) as $doc) { $adoc = array(); $adoc['title'] = $doc->title; $adoc['url'] = $doc->url; foreach($doc->authors as $author) { $fullname = $author->name; if ($author->surname != null && $author->surname != '' && $author->surname != 'UNKNOWN') $fullname .= ' '.$author->surname; $adoc['authors'][] = $fullname; } $docs["docs"][] = $adoc; } echo json_encode($docs); ?> , );