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