1 | <?php |
||
12 | class HtmlIconGroups extends HtmlSemDoubleElement { |
||
13 | |||
14 | public function __construct($identifier,$size="") { |
||
19 | |||
20 | public function add($icon,$size=""){ |
||
21 | $iconO=$icon; |
||
22 | if(\is_string($icon)){ |
||
23 | $iconO=new HtmlIcon("icon-".$this->identifier, $icon); |
||
24 | $iconO->setSize($size); |
||
25 | } |
||
26 | $this->addContent($iconO); |
||
27 | } |
||
28 | |||
29 | public function getIcon($index){ |
||
32 | } |