Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.59 KB | None | 0 0
  1. $hostItems->fromDatabaseObjects(Host::find("idUser =".$user->getId()), function ($host){
  2.             $semantic = $this->jquery->semantic();
  3.             $item= new HtmlItem("");
  4.             $bt=$semantic->htmlButton("btnVirtualshosts","Virtualshosts");
  5.             $bt->addIcon("snapchat ghost big link icon");
  6.             $bt->getonClick("Display/host/".$host->getId(), "#content-container");
  7.             $item->addImage($this->url->get("public/img/host.png"))->setSize("tiny");
  8.             $item->addItemHeaderContent($host->getName(),$host->getIpv4(),$bt);
  9.             return $item;
  10.         });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement