authors);
$nameout = '';
foreach ($names as $name) {
$lastName = explode(",", $name);
$nameout .= '' .trim($lastName[0]) .', ' .trim($lastName[1]);
$nameout .= "; ";
}
if (strlen($nameout) > 2) $nameout = substr($nameout, 0 , strlen($nameout) - 2);
if (strcmp($this->role, "edt") == 0) {
$nameout .= " (Hrsg.):";
} else{
// $nameout .= ":";
}
// Offene Zusammenhänge : Open Access in der Berufsbildungsforschung /Hubert Ertl [Hrsg.]; Bodo Rödel [Hrsg.]
$seriesout = '';
$pos = strrpos($journal,"/");
if ($pos !== false) {
$vol = str_replace(" :",".", substr($journal,0, $pos-1));
$authors = str_replace(["[","]"], ["(",")"],substr($journal, $pos+1));
$au = explode(";",$authors);
$editorSwitch = false;
$authors = "";
foreach ($au as $author) {
// Abtrennen Funktionsbezeichnung
$pos = strpos($author,"(");
if ($pos !== false) {
$editorSwitch = true;
$author = trim(substr($author,0,$pos-1));
}
// Name und Vorname drehen
$a = explode(" ",$author);
if (count($a) >= 1) {
$author = '' .$a[1] .", " .$a[0] .'';
}
$authors .= $author ."; ";
}
$authors = substr($authors, 0, strlen($authors) - strlen("; "));
if ($editorSwitch == true) {
$authors .= " (Hrsg.): ";
}
} else {
$vol = $journal;
$authors = '';
}
?>
authors)): ?>=$nameout?>
title)) : ?>=$this->escapeHtml($this->title)?>periodAfterTitle): ?>
In:
= $authors ?> = trim(str_replace(array(":", ","), array("–",""),$vol)) ?>
volume) || !empty($vol)): ?>
issue)): ?>
(
=$this->escapeHtml($this->issue)?>
)
volume) || !empty($this->issue)): ?>
pubPlace)) : ?>=$this->escapeHtml($this->pubPlace)?>
volume)): ?>=$this->escapeHtml(str_replace(array("H.",",") ,array("",""),$this->volume))?>,
volume)) : ?> year)) : ?> =$this->escapeHtml($this->year)?>
pageRange)) : ?> =$this->escapeHtml(str_replace("Seite","S.",$this->pageRange))?>
doi)): ?>. doi:=$this->escapeHtml($this->doi)?>