ILIAS  release_7 Revision v7.30-3-g800a261c036
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',
65 'annote',
66 'author',
67 'booktitle',
68 'chapter',
69 'crossref',
70 'edition',
71 'editor',
72 'eprint',
73 'howpublished',
74 'institution',
75 'journal',
76 'key',
77 'month',
78 'note',
79 'number',
80 'organization',
81 'pages',
82 'publisher',
83 'school',
84 'series',
85 'title',
86 'type',
87 'url',
88 'volume',
89 'year',
90 );
94 protected static $entry_types
95 = array(
96 'article',
97 'book',
98 'booklet',
99 'conference',
100 'inbook',
101 'incollection',
102 'inproceedings',
103 'manual',
104 'mastersthesis',
105 'misc',
106 'phdthesis',
107 'proceedings',
108 'techreport',
109 'unpublished',
110 );
111
112
116 public function isStandardField(string $field_name) : bool
117 {
118 return in_array($field_name, self::$standard_fields);
119 }
120
121
125 public function isEntryType(string $entry_ype) : bool
126 {
127 return in_array($entry_ype, self::$entry_types);
128 }
129}
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.