1<?php 2 3/* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */ 4 5namespace ILIAS\UI\Implementation\Component\Glyph; 6 7use ILIAS\UI\Component\Glyph as G; 8 9class Factory implements G\Factory 10{ 11 /** 12 * @inheritdoc 13 */ 14 public function settings($action = null) 15 { 16 return new Glyph(G\Glyph::SETTINGS, "settings", $action); 17 } 18 19 /** 20 * @inheritdoc 21 */ 22 public function collapse($action = null) 23 { 24 return new Glyph(G\Glyph::COLLAPSE, "collapse_content", $action); 25 } 26 27 /** 28 * @inheritdoc 29 */ 30 public function expand($action = null) 31 { 32 return new Glyph(G\Glyph::EXPAND, "expand_content", $action); 33 } 34 35 /** 36 * @inheritdoc 37 */ 38 public function add($action = null) 39 { 40 return new Glyph(G\Glyph::ADD, "add", $action); 41 } 42 43 /** 44 * @inheritdoc 45 */ 46 public function remove($action = null) 47 { 48 return new Glyph(G\Glyph::REMOVE, "remove", $action); 49 } 50 51 /** 52 * @inheritdoc 53 */ 54 public function up($action = null) 55 { 56 return new Glyph(G\Glyph::UP, "up", $action); 57 } 58 59 /** 60 * @inheritdoc 61 */ 62 public function down($action = null) 63 { 64 return new Glyph(G\Glyph::DOWN, "down", $action); 65 } 66 67 /** 68 * @inheritdoc 69 */ 70 public function back($action = null) 71 { 72 return new Glyph(G\Glyph::BACK, "back", $action); 73 } 74 75 /** 76 * @inheritdoc 77 */ 78 public function next($action = null) 79 { 80 return new Glyph(G\Glyph::NEXT, "next", $action); 81 } 82 83 84 /** 85 * @inheritdoc 86 */ 87 public function sortAscending($action = null) 88 { 89 return new Glyph(G\Glyph::SORT_ASCENDING, "sort_ascending", $action); 90 } 91 92 /** 93 * @inheritdoc 94 */ 95 public function briefcase($action = null) 96 { 97 return new Glyph(G\Glyph::BRIEFCASE, "briefcase", $action); 98 } 99 100 /** 101 * @inheritdoc 102 */ 103 public function sortDescending($action = null) 104 { 105 return new Glyph(G\Glyph::SORT_DESCENDING, "sort_descending", $action); 106 } 107 108 /** 109 * @inheritdoc 110 */ 111 public function sort($action = null) 112 { 113 return new Glyph(G\Glyph::SORT, "sort", $action); 114 } 115 116 /** 117 * @inheritdoc 118 */ 119 public function user($action = null) 120 { 121 return new Glyph(G\Glyph::USER, "show_who_is_online", $action); 122 } 123 124 /** 125 * @inheritdoc 126 */ 127 public function mail($action = null) 128 { 129 return new Glyph(G\Glyph::MAIL, "mail", $action); 130 } 131 132 /** 133 * @inheritdoc 134 */ 135 public function notification($action = null) 136 { 137 return new Glyph(G\Glyph::NOTIFICATION, "notifications", $action); 138 } 139 140 /** 141 * @inheritdoc 142 */ 143 public function tag($action = null) 144 { 145 return new Glyph(G\Glyph::TAG, "tags", $action); 146 } 147 148 /** 149 * @inheritdoc 150 */ 151 public function note($action = null) 152 { 153 return new Glyph(G\Glyph::NOTE, "notes", $action); 154 } 155 156 /** 157 * @inheritdoc 158 */ 159 public function comment($action = null) 160 { 161 return new Glyph(G\Glyph::COMMENT, "comments", $action); 162 } 163 164 /** 165 * @inheritdoc 166 */ 167 public function like($action = null) 168 { 169 return new Glyph(G\Glyph::LIKE, "like", $action); 170 } 171 172 /** 173 * @inheritdoc 174 */ 175 public function love($action = null) 176 { 177 return new Glyph(G\Glyph::LOVE, "love", $action); 178 } 179 180 /** 181 * @inheritdoc 182 */ 183 public function dislike($action = null) 184 { 185 return new Glyph(G\Glyph::DISLIKE, "dislike", $action); 186 } 187 188 /** 189 * @inheritdoc 190 */ 191 public function laugh($action = null) 192 { 193 return new Glyph(G\Glyph::LAUGH, "laugh", $action); 194 } 195 196 /** 197 * @inheritdoc 198 */ 199 public function astounded($action = null) 200 { 201 return new Glyph(G\Glyph::ASTOUNDED, "astounded", $action); 202 } 203 204 /** 205 * @inheritdoc 206 */ 207 public function sad($action = null) 208 { 209 return new Glyph(G\Glyph::SAD, "sad", $action); 210 } 211 212 /** 213 * @inheritdoc 214 */ 215 public function angry($action = null) 216 { 217 return new Glyph(G\Glyph::ANGRY, "angry", $action); 218 } 219 220 /** 221 * @inheritdoc 222 */ 223 public function eyeopen($action = null) 224 { 225 return new Glyph(G\Glyph::EYEOPEN, "eyeopen", $action); 226 } 227 228 /** 229 * @inheritdoc 230 */ 231 public function eyeclosed($action = null) 232 { 233 return new Glyph(G\Glyph::EYECLOSED, "eyeclosed", $action); 234 } 235 236 /** 237 * @inheritdoc 238 */ 239 public function attachment($action = null) 240 { 241 return new Glyph(G\Glyph::ATTACHMENT, "attachment", $action); 242 } 243 244 /** 245 * @inheritdoc 246 */ 247 public function reset($action = null) 248 { 249 return new Glyph(G\Glyph::RESET, "reset", $action); 250 } 251 252 /** 253 * @inheritdoc 254 */ 255 public function apply($action = null) 256 { 257 return new Glyph(G\Glyph::APPLY, "apply", $action); 258 } 259} 260