ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
23 public function getName();
24
30 public function getAriaLabel();
31
38 public function withAbbreviation($abbreviation);
39
45 public function getAbbreviation();
46
54 public function withSize($size);
55
61 public function getSize();
62}
$size
Definition: RandomTest.php:84
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
This describes how a icon could be modified during construction of UI.
Definition: Icon.php:10
withSize($size)
Set the size for this icon.
getName()
Get the name of the icon.
getSize()
Get the size of this icon.
getAbbreviation()
Get the abbreviation of this icon.
withAbbreviation($abbreviation)
Set the abbreviation for this icon.
getAriaLabel()
Get the aria-label of this icon.