addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/organization.js'));
$document->setTitle("OpenAIRE - Organization:".(isset($this -> organizationId) && isset($this -> organization -> name)?': '.(strlen($this -> organization -> name) > 30?substr($this -> organization -> name,0,30).'...':$this -> organization -> name):''));
$document->setMetaData( 'description', (isset($this -> organization -> name)?$this ->organization -> name:''), true );
$document->addStyleSheet(JRoute :: _(JUri :: base() . 'components/com_openaire/js/DataTables/DataTables-1.10.9/css/jquery.dataTables.min.css'));
$document->addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/DataTables/DataTables-1.10.9/js/jquery.dataTables.min.js'));
$parameters = JComponentHelper :: getParams('com_openaire');
$itemId = $this -> itemId;
?>
organizationId == NULL) || ($this -> organization == NULL) || (($this -> organization -> shortName == NULL) && ($this -> organization -> name == NULL))) { ?>
- organization -> name == NULL) ? '-' : $this -> organization -> name); ?>
- organization -> country == NULL) ? '-' : $this -> organization -> country); ?>
organization!= null){
if($this -> organization -> projects != null){
$totalProjects = sizeof($this -> organization -> projects);
}
if($this -> result !== null && $this -> result -> datasources != null){
$totalDatasources = sizeof($this -> result -> datasources);
}
}
?>
-
organization -> projects == NULL){?>
organization -> allFunders)>1){
?>
organization -> allFunders)==1)?'
'.JText :: _('PROJECTS_FUNDED_BY').' '.reset($this -> organization ->allFunders)->name.'
':'';
}
?>
organization -> projects == NULL) ? '-' : implode('
', array_filter(array_map(function ($project) use ($itemId) {return (($project == NULL) || (($project -> acronym == NULL) && ($project -> title == NULL))) ? '' : ((($project -> id == NULL) ? '' : '') . (($project -> acronym == NULL) ? $project -> title : $project -> acronym) . (($project -> code == NULL) ? '' : (' (' . $project -> code . ')')) . (($project -> id == NULL) ? '' : ''));}, $this -> organization -> projects)))); ?>
-
result == NULL) { ?>
result -> datasources == NULL) { ?>
result -> datasources as $datasource) {
echo(DatasourceHelper :: formatDatasource($datasource, $this -> itemId));
}
if ($this -> result -> totalDatasources > OpenAireViewOrganization :: SIZE) { ?>
organization -> shortName!=null &&$this -> organization -> shortName!=''){
if(sizeof($this -> organization -> allFunders)==0){
?>
-
organization -> allFunders)>1){
?>
-
organization -> allFunders as $funder) {?>
-
name); ?>
organization -> allFunders)==0){
?>
-
organization -> allFunders)>1){
?>
-
organization -> allFunders as $funder) {?>
-
name); ?>