ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
class.ilRis.php
Go to the documentation of this file.
1<?php
2
9class ilRis {
10
14 protected static $standard_fields = array(
15 'TY',
16 'ID',
17 'T1',
18 'TI',
19 'CT',
20 'A1',
21 'A2',
22 'AU',
23 'Y1',
24 'PY',
25 'N1',
26 'KW',
27 'RP',
28 'SP',
29 'EP',
30 'JF',
31 'JO',
32 'JA',
33 'J1',
34 'J2',
35 'VL',
36 'IS',
37 'T2',
38 'CY',
39 'PB',
40 'U1',
41 'U5',
42 'T3',
43 'N2',
44 'SN',
45 'AV',
46 'M1',
47 'M3',
48 'AD',
49 'UR',
50 'L1',
51 'L2',
52 'L3',
53 'L4',
54 'ER',
55 );
59 protected static $entry_types = array(
60 'ABST',
61 'ADVS',
62 'ART',
63 'BILL',
64 'BOOK',
65 'CASE',
66 'CHAP',
67 'COMP',
68 'CONF',
69 'CTLG',
70 'DATA',
71 'ELEC',
72 'GEN',
73 'HEAR',
74 'ICOMM',
75 'INPR',
76 'JFULL',
77 'JOUR',
78 'MAP',
79 'MGZN',
80 'MPCT',
81 'MUSIC',
82 'NEWS',
83 'PAMP',
84 'PAT',
85 'PCOMM',
86 'RPRT',
87 'SER',
88 'SLIDE',
89 'SOUND',
90 'STAT',
91 'THES',
92 'UNBILl',
93 'UNPB',
94 'VIDEO',
95 );
96
97
103 public static function isStandardField($field_name) {
104 return in_array(strtoupper($field_name), self::$standard_fields);
105 }
106
107
113 public static function isEntryType($entry_ype) {
114 return in_array(strtoupper($entry_ype), self::$entry_types);
115 }
116}
117
118?>
Class ilRis.
Definition: class.ilRis.php:9
static $standard_fields
Definition: class.ilRis.php:14
static $entry_types
Definition: class.ilRis.php:59
static isEntryType($entry_ype)
static isStandardField($field_name)