public function formatCitation() { $citation = ""; $citation .= $this->formatAuthors() . '. '; $citation .= $this->year . '. '; $citation .= StringHelper::sentenceCase($this->title) . '. '; $citation .= "Di dalam: "; if ($this->editors) { $citation .= $this->formatEditors() . ', editor. '; } if ($this->book_title) { $citation .= '<em>' . StringHelper::titleCase($this->book_title) . '</em>; '; } else { $citation .= '[Judul buku tidak diketahui]; '; } if ($this->pub) { $citation .= $this->pub_city . ' (' . $this->pub_country . '): ' . $this->pub . '. '; } else { $citation .= '[Penerbit tidak diketahui]. '; } if ($this->pages) { $citation .= 'hlm ' . $this->pages . '. '; } else { $citation .= '[No halaman tidak diketahui]. '; } return $citation; }
public function formatCitation() { $citation = ""; $citation .= $this->formatAuthors() . '. '; $citation .= $this->year . '. '; $citation .= StringHelper::sentenceCase($this->title) . '. '; $citation .= "Di dalam: "; if ($this->editors) { $citation .= $this->formatEditors() . ', editor. '; } if ($this->proc_name) { $citation .= '<em>' . StringHelper::titleCase($this->proc_name) . '</em>; '; } else { $citation .= '[Prosiding tidak diketahui]; '; } if ($this->con_date != '') { $citation .= $this->con_date . '; '; $citation .= $this->con_city . '. '; } else { $citation .= '[Waktu dan tempat pertemuan tidak diketahui]. '; } if ($this->pub) { $citation .= $this->pub_city . ' (' . strtoupper($this->pub_country) . '): ' . $this->pub . '. '; } else { $citation .= '[Penerbit tidak diketahui]. '; } if ($this->pages) { $citation .= 'hlm ' . $this->pages . '. '; } else { $citation .= '[No halaman tidak diketahui]. '; } return $citation; }
public function formatCitation() { $citation = ""; $citation .= $this->formatAuthors() . '. '; $citation .= $this->year . '. '; $citation .= StringHelper::sentenceCase($this->title) . ' '; $citation .= '[' . strtolower($this->thesis_type) . ']. '; $citation .= $this->univ_city . ' (' . strtoupper($this->univ_country) . '): '; if ($this->univ_faculty) { $citation .= $this->univ_faculty . ', '; } $citation .= $this->univ . '.'; return $citation; }
public function formatCitation() { $citation = ""; $citation .= $this->formatAuthors() . '. '; $citation .= $this->year . '. '; $citation .= StringHelper::sentenceCase($this->title) . '. '; $citation .= '<em>' . StringHelper::titleCase($this->journal) . '</em>. '; $citation .= $this->volume; if ($this->issue != '') { $citation .= '(' . $this->issue . ')'; } $citation .= ':' . $this->pages . '.'; if ($this->doi != '') { $citation .= ' doi:' . $this->doi . '.'; } return $citation; }