ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilBibTex.php
Go to the documentation of this file.
1<?php
2
10{
11
15 public function getId() : int
16 {
18 }
19
20
24 public function getStringRepresentation() : string
25 {
26 return "bib";
27 }
28
29
33 public function getStandardFieldIdentifiers() : array
34 {
36 }
37
38
39
62 protected static $standard_fields
63 = array(
64 'address', 'annote', 'author', 'booktitle', 'chapter', 'crossref', 'edition', 'editor', 'eprint', 'howpublished', 'institution', 'journal', 'key', 'month', 'note', 'number', 'organization', 'pages', 'publisher', 'school', 'series', 'title', 'type', 'url', 'volume', 'year',
65 );
69 protected static $entry_types
70 = array(
71 'article', 'book', 'booklet', 'conference', 'inbook', 'incollection', 'inproceedings', 'manual', 'mastersthesis', 'misc', 'phdthesis', 'proceedings', 'techreport', 'unpublished',
72 );
73
74
78 public function isStandardField(string $field_name) : bool
79 {
80 return in_array($field_name, self::$standard_fields);
81 }
82
83
87 public function isEntryType(string $entry_ype) : bool
88 {
89 return in_array($entry_ype, self::$entry_types);
90 }
91}
An exception for terminatinating execution or to throw for unit testing.
Class ilBibTexInterface.
static $entry_types
isStandardField(string $field_name)
bool
getStringRepresentation()
@inheritDoc
isEntryType(string $entry_ype)
bool
getStandardFieldIdentifiers()
@inheritDoc
static $standard_fields
getId()
@inheritDoc
Interface ilBiblTypeInterface.