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)): ?> title)) : ?>escapeHtml($this->title)?>periodAfterTitle): ?> In: volume) || !empty($vol)): ?> issue)): ?> ( escapeHtml($this->issue)?> ) volume) || !empty($this->issue)): ?> pubPlace)) : ?>escapeHtml($this->pubPlace)?> volume)): ?>escapeHtml(str_replace(array("H.",",") ,array("",""),$this->volume))?>, volume)) : ?> year)) : ?> escapeHtml($this->year)?> pageRange)) : ?> escapeHtml(str_replace("Seite","S.",$this->pageRange))?> doi)): ?>. doi:escapeHtml($this->doi)?>