ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Factory.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 */
4
8interface Factory
9{
28 public function standard($name, $aria_label, $size='small');
29
60 public function custom($icon_path, $aria_label, $size='small');
61}
$size
Definition: RandomTest.php:84
An exception for terminatinating execution or to throw for unit testing.
This is how a factory for icons looks like.
Definition: Factory.php:9
custom($icon_path, $aria_label, $size='small')
standard($name, $aria_label, $size='small')
if($format !==null) $name
Definition: metadata.php:146