ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
class.ilRis.php
Go to the documentation of this file.
1 <?php
2 
9 class ilRis {
10 
16  protected static $standard_fields = array(
17  'A2',
18  // Secondary Author (each author on its own line preceded by the tag)
19  'A3',
20  // Tertiary Author (each author on its own line preceded by the tag)
21  'A4',
22  // Subsidiary Author (each author on its own line preceded by the tag)
23  'AB',
24  // Abstract
25  'AD',
26  // Author Address
27  'AN',
28  // Accession Number
29  'AU',
30  // Author (each author on its own line preceded by the tag)
31  'C1',
32  // Custom 1
33  'C2',
34  // Custom 2
35  'C3',
36  // Custom 3
37  'C4',
38  // Custom 4
39  'C5',
40  // Custom 5
41  'C6',
42  // Custom 6
43  'C7',
44  // Custom 7
45  'C8',
46  // Custom 8
47  'CA',
48  // Caption
49  'CN',
50  // Call Number
51  'CY',
52  // Place Published
53  'DA',
54  // Date
55  'DB',
56  // Name of Database
57  'DO',
58  // DOI
59  'DP',
60  // Database Provider
61  'EP',
62  // End Page
63  'ET',
64  // Edition
65  'IS',
66  // Number
67  'J2',
68  // Alternate Title (this field is used for the abbreviated title of a book or journal name)
69  'KW',
70  // Keywords (keywords should be entered each on its own line preceded by the tag)
71  'L1',
72  // File Attachments (this is a link to a local file on the users system not a URL link)
73  'L4',
74  // Figure (this is also meant to be a link to a local file on the users's system and not a URL link)
75  'LA',
76  // Language
77  'LB',
78  // Label
79  'M1',
80  // Number
81  'M3',
82  // Type of Work
83  'N1',
84  // Notes
85  'NV',
86  // Number of Volumes
87  'OP',
88  // Original Publication
89  'PB',
90  // Publisher
91  'PY',
92  // Year
93  'RI',
94  // Reviewed Item
95  'RN',
96  // Research Notes
97  'RP',
98  // Reprint Edition
99  'SE',
100  // Section
101  'SN',
102  // ISBN/ISSN
103  'SP',
104  // Start Page
105  'ST',
106  // Short Title
107  'T1',
108  // Primary Title
109  'T2',
110  // Secondary Title
111  'T3',
112  // Tertiary Title
113  'TA',
114  // Translated Author
115  'TI',
116  // Title
117  'TT',
118  // Translated Title
119  'UR',
120  // URL
121  'VL',
122  // Volume
123  'Y2',
124  // Access Date
125  'JA',
126  'L3'
127  );
131  protected static $entry_types = array(
132  'ABST',
133  'ADVS',
134  'ART',
135  'BILL',
136  'BOOK',
137  'CASE',
138  'CHAP',
139  'COMP',
140  'CONF',
141  'CTLG',
142  'DATA',
143  'ELEC',
144  'GEN',
145  'HEAR',
146  'ICOMM',
147  'INPR',
148  'JFULL',
149  'JOUR',
150  'MAP',
151  'MGZN',
152  'MPCT',
153  'MUSIC',
154  'NEWS',
155  'PAMP',
156  'PAT',
157  'PCOMM',
158  'RPRT',
159  'SER',
160  'SLIDE',
161  'SOUND',
162  'STAT',
163  'THES',
164  'UNBILl',
165  'UNPB',
166  'VIDEO',
167  );
168 
169 
175  public static function isStandardField($field_name) {
176  return in_array(strtoupper($field_name), self::$standard_fields);
177  }
178 
179 
185  public static function isEntryType($entry_ype) {
186  return in_array(strtoupper($entry_ype), self::$entry_types);
187  }
188 }
189 
190 ?>
static $entry_types
Class ilRis.
Definition: class.ilRis.php:9
static isEntryType($entry_ype)
static $standard_fields
Definition: class.ilRis.php:16
static isStandardField($field_name)