ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilBibTex.php
Go to the documentation of this file.
1<?php
2
26{
30 public function getId(): int
31 {
33 }
34
35
39 public function getStringRepresentation(): string
40 {
41 return "bib";
42 }
43
44
48 public function getStandardFieldIdentifiers(): array
49 {
51 }
52
53
54
55 protected static array $standard_fields
56 = [
57 'address',
58 'annote',
59 'author',
60 'booktitle',
61 'chapter',
62 'crossref',
63 'edition',
64 'editor',
65 'eprint',
66 'howpublished',
67 'institution',
68 'journal',
69 'key',
70 'month',
71 'note',
72 'number',
73 'organization',
74 'pages',
75 'publisher',
76 'school',
77 'series',
78 'title',
79 'type',
80 'url',
81 'volume',
82 'year',
83 ];
84 protected static array $entry_types
85 = [
86 'article',
87 'book',
88 'booklet',
89 'conference',
90 'inbook',
91 'incollection',
92 'inproceedings',
93 'manual',
94 'mastersthesis',
95 'misc',
96 'phdthesis',
97 'proceedings',
98 'techreport',
99 'unpublished',
100 ];
101
102
106 public function isStandardField(string $field_name): bool
107 {
108 return in_array($field_name, self::$standard_fields);
109 }
110
111
115 public function isEntryType(string $entry_ype): bool
116 {
117 return in_array($entry_ype, self::$entry_types);
118 }
119}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
isStandardField(string $field_name)
static array $entry_types
getStringRepresentation()
@inheritDoc
isEntryType(string $entry_ype)
static array $standard_fields
getStandardFieldIdentifiers()
@inheritDoc
getId()
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...