ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
Standard.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\UI\Component as C;
24 
25 class Standard extends Icon implements C\Symbol\Icon\Standard
26 {
27  private static array $standard_icons = [
28  self::GRP,
29  self::CAT,
30  self::CRS,
31  self::MOB,
32  self::MAIL,
33  self::SAHS,
34  self::ADM,
35  self::USRF,
36  self::ROLF,
37  self::USR,
38  self::ROLT,
39  self::LNGF,
40  self::LNG,
41  self::ROLE,
42  self::GLO,
43  self::ROOT,
44  self::LM,
45  self::FRM,
46  self::EXC,
47  self::AUTH,
48  self::FOLD,
49  self::FILE,
50  self::TST,
51  self::QPL,
52  self::RECF,
53  self::MEP,
54  self::HTLM,
55  self::SVY,
56  self::SPL,
57  self::CALS,
58  self::TRAC,
59  self::ASSF,
60  self::STYS,
61  self::WEBR,
62  self::SEAS,
63  self::EXTT,
64  self::ADVE,
65  self::PS,
66  self::NWSS,
67  self::FEED,
68  self::MCST,
69  self::RCRS,
70  self::MDS,
71  self::CMPS,
72  self::FACS,
73  self::SVYF,
74  self::SESS,
75  self::MCTS,
76  self::WIKI,
77  self::CRSR,
78  self::CATR,
79  self::TAGS,
80  self::CERT,
81  self::LRSS,
82  self::ACCS,
83  self::MOBS,
84  self::FRMA,
85  self::BOOK,
86  self::SKMG,
87  self::BLGA,
88  self::PRFA,
89  self::CHTR,
90  self::CHTA,
91  self::OTPL,
92  self::BLOG,
93  self::DCL,
94  self::POLL,
95  self::HLPS,
96  self::ITGR,
97  self::RCAT,
98  self::RWIK,
99  self::RLM,
100  self::RGLO,
101  self::RFIL,
102  self::RGRP,
103  self::RTST,
104  self::ECSS,
105  self::TOS,
106  self::DPRO,
107  self::IMPR,
108  self::BIBL,
109  self::SYSC,
110  self::CLD,
111  self::REPS,
112  self::CRSS,
113  self::GRPS,
114  self::WBDV,
115  self::WBRS,
116  self::PRTT,
117  self::ORGU,
118  self::WIKS,
119  self::EXCS,
120  self::TAXS,
121  self::BIBS,
122  self::AWRA,
123  self::LOGS,
124  self::PRG,
125  self::PRGS,
126  self::CADM,
127  self::GRPR,
128  self::BDGA,
129  self::IASS,
130  self::COPA,
131  self::CPAD,
132  self::BGTK,
133  self::MME,
134  self::PDFG,
135  self::DSHS,
136  self::PRSS,
137  self::NOTS,
138  self::LHTS,
139  self::COMS,
140  self::LTIS,
141  self::CMIS,
142  self::TASK,
143  self::REP,
144  self::LSO,
145  self::LSOS,
146  self::ADN,
147  self::NOTA,
148  self::GCON,
149  self::CON,
150  self::FILS,
151  self::TALA
152  ];
153 
154  private static array $standard_page_editor_icons = [
155  self::PEAC,
156  self::PEADL,
157  self::PEADT,
158  self::PEAN,
159  self::PECD,
160  self::PECH,
161  self::PECL,
162  self::PECLP,
163  self::PECOM,
164  self::PECRS,
165  self::PECRT,
166  self::PECS,
167  self::PEDT,
168  self::PEFL,
169  self::PEIM,
170  self::PELH,
171  self::PEMED,
172  self::PEMP,
173  self::PEPD,
174  self::PEPE,
175  self::PEPL,
176  self::PEPLH,
177  self::PEQU,
178  self::PERL,
179  self::PESC,
180  self::PETMP,
181  self::PEUSR,
182  ];
183 
184  public function __construct(string $name, string $label, string $size, bool $is_disabled)
185  {
186  $this->checkArgIsElement(
187  "size",
188  $size,
189  self::$possible_sizes,
190  implode('/', self::$possible_sizes)
191  );
192 
193  $this->name = $name;
194  $this->label = $label;
195  $this->size = $size;
196  $this->is_disabled = $is_disabled;
197  }
198 
203  public function getAllStandardHandles(): array
204  {
205  return self::$standard_icons;
206  }
207 
212  public function getAllStandardPageEditorHandles(): array
213  {
214  return self::$standard_page_editor_icons;
215  }
216 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getAllStandardPageEditorHandles()
get all defined constants
Definition: Standard.php:212
__construct(string $name, string $label, string $size, bool $is_disabled)
Definition: Standard.php:184