addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/datasource.js')); $document -> addScript(JRoute :: _(JUri :: base() . 'components/com_openaire/js/tabcontent.js')); $document -> addStyleSheet(JRoute :: _(JUri :: base() . 'components/com_openaire/css/tabcontent.css')); $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')); $document->setTitle("OpenAIRE - Data Provider:".(isset($this -> datasource -> name)?': '.(strlen($this -> datasource -> name) > 30?mb_substr($this -> datasource -> name,0,30).'...':$this -> datasource -> name):'')); $document->setMetaData( 'description', (isset($this -> datasource -> name)?$this ->datasource -> name:''), true ); $parameters = JComponentHelper :: getParams('com_openaire'); $dataproviders_statistics= array(); ?>
datasourceId == NULL) || ($this -> datasource == NULL) || (($this -> datasource -> englishName == NULL) && ($this -> datasource -> name == NULL))) { ?>
datasource -> compatibility) { case OpenAireViewDatasource :: OPENAIRE: $compatibilityClass = 'openaireCompatible'; break; case OpenAireViewDatasource :: DRIVER: $compatibilityClass = 'driverCompatible'; break; case OpenAireViewDatasource :: DRIVER_OPENAIRE: $compatibilityClass = 'driverOpenaireCompatible'; break; case OpenAireViewDatasource :: NON_COMPATIBLE: $compatibilityClass = 'nonCompatible'; break; default: $compatibilityClass = NULL; } ?>
datasource -> logo != NULL) { ?>
datasource -> name == NULL) ? '-' : $this -> datasource -> name); ?>
datasource -> type == NULL) ? '-' : $this -> datasource -> type); ?>
datasets !== NULL && $this -> datasets -> totalDatasets>0) $data = ''.$this -> datasets -> totalDatasets.' '.JText :: _('RESEARCH_DATA_').''; if($this -> publications !== NULL && $this -> publications -> totalPublications>0) $publications = ''.$this -> publications -> totalPublications.' '.JText :: _('PUBLICATIONS').''; if((strpos(strtolower($this -> datasource -> type),'data') !== false)){ echo($data); }else if((strpos(strtolower($this -> datasource -> type),'publication') !== false)||(strpos(strtolower($this -> datasource -> type),'institutional repository') !== false)||(strpos(strtolower($this -> datasource -> type),'thematic repository') !== false)||(strpos(strtolower($this -> datasource -> type),'journal') !== false)){ echo($publications); }else{ echo('-'); } ?>
datasource -> compatibility == NULL) ? '-' : $this -> datasource -> compatibility); ?>
datasource -> oaiPmh == NULL) ? '-' : ('' . $this -> datasource -> oaiPmh . '')); ?>
originalId=($datasource->originalId===NULL?NULL:str_replace("opendoar____::","",$datasource->originalId)); if($this -> datasource -> originalId !== NULL){ if(strpos($this -> datasource -> originalId,"opendoar____::" )!==false){ ?>
datasource -> originalId == NULL) ? '-' : ('datasource->originalId). '">'.JText :: _('DETAILED_DATA_PROVIDER_INFORMATION_OPENDOAR'). '')); ?>
datasource -> originalId,"re3data_____::" )!==false){?>
datasource -> originalId == NULL) ? '-' : ('datasource->originalId). '">' .JText :: _('DETAILED_DATA_PROVIDER_INFORMATION_RE3DATA'). '')); ?>

datasource -> description); ?>

 

  • datasource -> type),'publication') !== false)?'class="uk-active"':'')?> > publications -> totalPublications.')'); ?>
  • datasource -> type),'data') !== false)?'class="uk-active"':'')?> > datasets -> totalDatasets.')'); ?>
  • publications!=null && $this -> publications -> statistics != null )|| ( $this -> datasets!=null && $this -> datasets -> statistics != null)){ $dataproviders=0; foreach ($this -> publications -> statistics["datasource"]->data as $statistic) { if($this -> datasource -> name != $statistic -> name && $statistic -> name !== 'Unknown Repository') { $dataproviders_statistics[]=$statistic; $dataproviders++; } } foreach ($this -> datasets -> statistics["datasource"]->data as $statistic) { if($this -> datasource -> name != $statistic -> name && $statistic -> name !== 'Unknown Repository') { $dataproviders_statistics[]=$statistic; $dataproviders++; } } } if($dataproviders > 0){ ?>
  • '); ?>
  • publications == NULL) { ?>
    publications -> publications == NULL) { ?>
    publications -> totalPublications > OpenAireViewDatasource :: SIZE) { ?>
    publications -> publications as $publication) { echo(PublicationHelper :: formatPublication($publication, $this -> itemId)); } ?>
  • datasets == NULL) { ?>
    datasets -> datasets == NULL) { ?>
    datasets -> totalDatasets > OpenAireViewDatasource :: SIZE) { ?>
    datasets -> datasets as $dataset) { echo(DatasetHelper :: formatDataset($dataset, $this -> itemId)); } ?>
  • 0)){ ?>
  • datasource -> name != $statistic -> name) { ?>
    id)[0]; echo('' . $statistic -> name . ''); ?> count); ?>
  • datasource -> name); if(!($showData || $showPubs)){ ?>

    projectStatisticsChartUrl.'chart.php?com=query&persistent=false&data='.urlencode('{"query":"dtsrcYear","dtsrcName":"'.$this -> datasourceId.'","table": "result", "fields": [{"fld": "number", "agg": "count", "type": "line", "yaxis":1, "c":true}], "xaxis":{"name": "year", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size":30, "sort": "xaxis", "xStyle":{"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["'.JText :: _('DOCUMENTS').'"], "in": [{"f":0, "text": "'.JText ::_('YEARLY').'"}], "filters": [{"name":"year","max":"'.date("Y",strtotime("-1 year")).'","min":"'. date("Y",strtotime("-20 year")).'"},{"name": "result_datasources-datasource-name", "values":["'.$sanitized.'"], "to": "-1"}],"having": [], "incfilters": [], "inchaving": [], "title": "", "subtitle": "", "xaxistitle": "'.JText :: _('YEAR').'"}'); $document->addScriptDeclaration("var latestPublicationsTimelineUrl = '" . $url . "'"); ?>

    projectStatisticsChartUrl.'chart.php?com=query&persistent=false&data='.urlencode('{"query":"dtsrcPubs","dtsrcName":"'.$this -> datasourceId.'", "table": "result", "fields": [{"fld": "number", "agg": "count", "type": "pie", "yaxis":1, "c":false}], "xaxis":{"name": "result_classifications-type", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size":30, "sort": "xaxis", "xStyle":{"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["'.JText :: _('DOCUMENTS').'"], "in": [], "filters": [{"name": "result_datasources-datasource-name", "values": ["'.$sanitized.'"], "to": "-1"}], "having": [], "incfilters": [], "inchaving": [], "title": "", "subtitle": "", "xaxistitle": ""}'); $document->addScriptDeclaration("var publicationsPerDocumentTypeUrl = '" . $url . "'"); ?>
    publications -> statistics["project"]->data) > 0){ ?>

    projectStatisticsChartUrl.'chart.php?com=query&persistent=false&data='.urlencode('{"query":"dtsrcPubsFund","dtsrcName":"'.$this -> datasourceId.'", "table": "result", "fields": [{"fld": "number", "agg": "count", "type": "pie", "yaxis":1, "c":false}], "xaxis":{"name": "result_classifications-type", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size":30, "sort": "xaxis", "xStyle":{"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["'.JText :: _('DOCUMENTS').'"], "in": [], "filters": [{"name": "result_datasources-datasource-name", "values": ["'.$sanitized.'"], "to": "-1"}], "having": [], "incfilters": [], "inchaving": [], "title": "", "subtitle": "", "xaxistitle": ""}'); $document->addScriptDeclaration("var publicationsPerFunderUrl = '" . $url . "'"); ?>
    publications -> statistics["project"]->data) > 0){ ?>

    projectStatisticsChartUrl.'chart.php?com=query&persistent=false&data='.urlencode('{"query":"dtsrcProjPubs","dtsrcName":"'.$this -> datasourceId.'", "table": "result", "fields": [{"fld": "number", "agg": "count", "type": "bar", "yaxis":1, "c":false}], "xaxis":{"name": "result_classifications-type", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size":30, "sort": "xaxis", "xStyle":{"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["'.JText :: _('PUBLICATIONS').'"], "in": [], "filters": [{"name": "result_datasources-datasource-name", "values": ["'.$sanitized.'"], "to": "-1"}], "having": [], "incfilters": [], "inchaving": [], "title": "", "subtitle": "", "xaxistitle": ""}'); $document->addScriptDeclaration("var publicationsPerProjectUrl = '" . $url . "'"); ?>

    projectStatisticsChartUrl.'chart.php?com=query&persistent=false&data='.urlencode('{"query":"dtsrcProjData","dtsrcName":"'.$this -> datasourceId.'", "table": "result", "fields": [{"fld": "number", "agg": "count", "type": "bar", "yaxis":1, "c":false}], "xaxis":{"name": "result_classifications-type", "agg": "avg"}, "group": "", "color": "", "type": "chart", "size":30, "sort": "xaxis", "xStyle":{"r": "-", "s": "-", "l": "-", "ft": "-", "wt": "-"}, "yaxisheaders": [""], "fieldsheaders": ["'.JText :: _('DATASETS').'"], "in": [], "filters": [{"name": "result_datasources-datasource-name", "values": ["'.$sanitized.'"], "to": "-1"}], "having": [], "incfilters": [], "inchaving": [], "title": "", "subtitle": "", "xaxistitle": ""}'); $document->addScriptDeclaration("var dataPerProjectUrl = '" . $url . "'"); ?>