ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
Icon.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
10{
11
12 // sizes of icons
13 const SMALL = 'small';
14 const MEDIUM = 'medium';
15 const LARGE = 'large';
16 const RESPONSIVE = 'responsive';
17
24 public function getName();
25
31 public function getAriaLabel();
32
39 public function withAbbreviation($abbreviation);
40
46 public function getAbbreviation();
47
55 public function withSize($size);
56
62 public function getSize();
63
69 public function isDisabled();
70
77 public function withDisabled($is_disabled);
78}
$size
Definition: RandomTest.php:84
An exception for terminatinating execution or to throw for unit testing.
This describes how a icon could be modified during construction of UI.
Definition: Icon.php:10
getSize()
Get the size of this icon.
withAbbreviation($abbreviation)
Set the abbreviation for this icon.
getName()
Get the name of the icon.
isDisabled()
Is the Icon disabled?
withSize($size)
Set the size for this icon.
getAriaLabel()
Get the aria-label of this icon.
withDisabled($is_disabled)
Get an icon like this, but marked as disabled.
getAbbreviation()
Get the abbreviation of this icon.
This describes a symbol.
Definition: Symbol.php:12