/** * * {@inheritDoc} * * @see \Ajax\common\html\html5\HtmlCollection::createItem() */ protected function createItem($value) { $itemO = new HtmlLink("item-" . \sizeof($this->content), "", $value); return $itemO->setClass("item"); }
public static function icon($identifier, $icon, $href = "#", $label = NULL) { $result = new HtmlLink($identifier, $href, $label); return $result->addIcon($icon); }