Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $hostItems->fromDatabaseObjects(Host::find("idUser =".$user->getId()), function ($host){
- $semantic = $this->jquery->semantic();
- $item= new HtmlItem("");
- $bt=$semantic->htmlButton("btnVirtualshosts","Virtualshosts");
- $bt->addIcon("snapchat ghost big link icon");
- $bt->getonClick("Display/host/".$host->getId(), "#content-container");
- $item->addImage($this->url->get("public/img/host.png"))->setSize("tiny");
- $item->addItemHeaderContent($host->getName(),$host->getIpv4(),$bt);
- return $item;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement