dataset -> accessMode) {
case OpenAireViewDataset :: OPEN_ACCESS:
$accessModeClass = 'openAccess';
$accessModeTitle = JText :: _('OPEN_ACCESS');
break;
case OpenAireViewDataset :: EMBARGO_ACCESS:
$accessModeClass = 'embargoAccess';
$accessModeTitle = JText :: _('EMBARGO_ACCESS');
break;
case OpenAireViewDataset :: RESTRICTED_ACCESS:
$accessModeClass = 'restrictedAccess';
$accessModeTitle = JText :: _('RESTRICTED_ACCESS');
break;
case OpenAireViewDataset :: CLOSED_ACCESS:
$accessModeClass = 'closedAccess';
$accessModeTitle = JText :: _('CLOSED_ACCESS');
break;
default:
$accessModeClass = NULL;
$accessModeTitle = NULL;
} ?>
dataset -> authors != NULL) || ($this -> dataset -> year != NULL)) { ?>
dataset -> publisher != NULL) { ?>
' . $this -> dataset -> publisher); ?>
dataset -> journal != NULL) { ?>
' . $this -> dataset -> journal); ?>
dataset -> languages != NULL) { ?>
' . implode(', ', $this -> dataset -> languages)); ?>
dataset -> type != NULL) { ?>
' . $this -> dataset -> type); ?>
dataset -> subjects != NULL) { ?>
' .implode(', ', $this -> dataset -> subjects)); ?>
dataset -> embargoEndDate != NULL) { ?>
' .date(JText :: _('DATE_FORMAT'), $this -> dataset -> embargoEndDate)); ?>
dataset -> pids != NULL) { ?>
dataset -> description != NULL) { ?>
dataset -> description); ?>
dataset -> relatedDatasets == NULL) && ($this -> dataset -> externalDatasets == NULL)) { ?>
dataset -> relatedPublications == NULL) && ($this -> dataset -> relatedPublications == NULL)) { ?>
dataset -> relatedPublications as $relatedDataset ){
if($relatedDataset->provenance!=null){
if(strpos($relatedDataset->provenance,'iis')!==false){
$inferredRelatedDatasets[]=$relatedDataset;
}else if(strpos($relatedDataset->provenance,'sysimport')!==false){
$harvestedRelatedDatasets[]=$relatedDataset;
}else if(strpos($relatedDataset->provenance,'user')!==false){
$claimedRelatedDatasets[]=$relatedDataset;
}else{
$otherRelatedDatasets[]=$relatedDataset;
}
}
}
if($harvestedRelatedDatasets!=null ){?>
|
|
';
$title=PublicationHelper :: _formatTitle(htmlspecialchars($relatedPublication -> title), $relatedPublication -> accessMode, $relatedPublication -> id, $relatedPublication -> source, $relatedPublication -> url, $itemId,
isset($relatedPublication -> inferred)?$relatedPublication -> inferred:false,
isset($relatedPublication -> trust)?$relatedPublication -> trust:"",
isset($relatedPublication -> provenance)?$relatedPublication -> provenance:"");
echo((empty($title)?'-':$title).' | ');
echo(''.(($relatedPublication -> year)==NULL?'-':$relatedPublication -> year).' | ');
echo '';
}
?>
?>
trust == $b->trust) {return 0;}return ($a->trust > $b->trust) ? -1 : 1;});
}
?>
|
|
';
$title=PublicationHelper :: _formatTitle(htmlspecialchars($relatedPublication -> title), $relatedPublication -> accessMode, $relatedPublication -> id, $relatedPublication -> source, $relatedPublication -> url, $itemId,
isset($relatedPublication -> inferred)?$relatedPublication -> inferred:false,
isset($relatedPublication -> trust)?$relatedPublication -> trust:"",
isset($relatedPublication -> provenance)?$relatedPublication -> provenance:"");
echo((empty($title)?'-':$title).' | ');
echo(''.(($relatedPublication -> year)==NULL?'-':$relatedPublication -> year).' | ');
echo '';
}
?>
|
|
|
';
$title=PublicationHelper :: _formatTitle(htmlspecialchars($relatedPublication -> title), $relatedPublication -> accessMode, $relatedPublication -> id, $relatedPublication -> source, $relatedPublication -> url, $itemId,
isset($relatedPublication -> inferred)?$relatedPublication -> inferred:false,
isset($relatedPublication -> trust)?$relatedPublication -> trust:"",
isset($relatedPublication -> provenance)?$relatedPublication -> provenance:"");
echo((empty($title)?'-':$title).' | ');
echo(''.(($relatedPublication -> year)==NULL?'-':$relatedPublication -> year).' | ');
echo('' .($relatedPublication -> trust*100).' ');
echo ' | ';
}
?>