ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Standard.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 2017 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3
5
8
9class Standard extends Icon implements C\Icon\Standard
10{
11 private static $standard_icons = array(
12 self::GRP
13 ,self::CAT
14 ,self::CRS
15 ,self::MOB
16 ,self::MAIL
17 ,self::SAHS
18 ,self::ADM
19 ,self::USRF
20 ,self::ROLF
21 ,self::OBJF
22 ,self::USR
23 ,self::ROLT
24 ,self::LNGF
25 ,self::LNG
26 ,self::ROLE
27 ,self::DBK
28 ,self::GLO
29 ,self::ROOT
30 ,self::LM
31 ,self::NOTF
32 ,self::NOTE
33 ,self::FRM
34 ,self::EXC
35 ,self::AUTH
36 ,self::FOLD
37 ,self::FILE
38 ,self::TST
39 ,self::QPL
40 ,self::RECF
41 ,self::MEP
42 ,self::HTLM
43 ,self::SVY
44 ,self::SPL
45 ,self::CALS
46 ,self::TRAC
47 ,self::ASSF
48 ,self::STYS
49 ,self::CRSG
50 ,self::WEBR
51 ,self::SEAS
52 ,self::EXTT
53 ,self::ADVE
54 ,self::PS
55 ,self::NWSS
56 ,self::FEED
57 ,self::MCST
58 ,self::PDTS
59 ,self::RCRS
60 ,self::MDS
61 ,self::CMPS
62 ,self::FACS
63 ,self::SVYF
64 ,self::SESS
65 ,self::MCTS
66 ,self::WIKI
67 ,self::CRSR
68 ,self::CATR
69 ,self::TAGS
70 ,self::CERT
71 ,self::LRSS
72 ,self::ACCS
73 ,self::MOBS
74 ,self::FRMA
75 ,self::BOOK
76 ,self::SKMG
77 ,self::BLGA
78 ,self::PRFA
79 ,self::CHTR
80 ,self::CHTA
81 ,self::OTPL
82 ,self::BLOG
83 ,self::DCL
84 ,self::POLL
85 ,self::HLPS
86 ,self::ITGR
87 ,self::RCAT
88 ,self::RWIK
89 ,self::RLM
90 ,self::RGLO
91 ,self::RFIL
92 ,self::RGRP
93 ,self::RTST
94 ,self::ECSS
95 ,self::TOS
96 ,self::BIBL
97 ,self::SYSC
98 ,self::CLD
99 ,self::REPS
100 ,self::CRSS
101 ,self::GRPS
102 ,self::WBRS
103 ,self::PRTT
104 ,self::ORGU
105 ,self::WIKS
106 ,self::EXCS
107 ,self::TAXS
108 ,self::BIBS
109 ,self::AWRA
110 ,self::LOGS
111 ,self::PRG
112 ,self::PRGS
113 ,self::CADM
114 ,self::GRPR
115 ,self::BDGA
116 ,self::WFE
117 ,self::IASS
118 );
119
121 {
122 $this->checkStringArg("name", $name);
123 $this->checkStringArg("string", $aria_label);
124 $this->checkArgIsElement(
125 "size",
126 $size,
127 self::$possible_sizes,
128 implode(self::$possible_sizes, '/')
129 );
130 $this->name = $name;
131 $this->aria_label = $aria_label;
132 $this->size = $size;
133 }
134
138 public function getAllStandardHandles()
139 {
141 }
142}
An exception for terminatinating execution or to throw for unit testing.
getAllStandardHandles()
get all defined constants
Definition: Standard.php:138
__construct($name, $aria_label, $size)
Definition: Standard.php:120
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
trait ComponentHelper
Provides common functionality for component implementations.
checkArgIsElement($which, $value, $array, $name)
Throw an InvalidArgumentException if $value is not an element of array.