Ajax/semantic/html/elements/HtmlHeader.php 1 location
|
@@ 54-59 (lines=6) @@
|
51 |
|
$this->content=$title; |
52 |
|
} |
53 |
|
$this->content->setClass("content"); |
54 |
|
if(isset($subHeader)){ |
55 |
|
$sub=new HtmlDoubleElement("subheader-".$this->identifier,"div"); |
56 |
|
$sub->setClass("sub header"); |
57 |
|
$sub->setContent($subHeader); |
58 |
|
$this->content->addContent($sub); |
59 |
|
} |
60 |
|
return $this; |
61 |
|
} |
62 |
|
|
Ajax/semantic/html/collections/menus/HtmlMenu.php 1 location
|
@@ 71-75 (lines=5) @@
|
68 |
|
public function generateMenuAsItem($menu,$header=null){ |
69 |
|
$count=$this->count(); |
70 |
|
$item=new HtmlSemDoubleElement("item-".$this->identifier."-".$count,"div"); |
71 |
|
if(isset($header)){ |
72 |
|
$headerItem=new HtmlSemDoubleElement("item-header-".$this->identifier."-".$count,"div","header"); |
73 |
|
$headerItem->setContent($header); |
74 |
|
$item->addContent($headerItem); |
75 |
|
} |
76 |
|
$menu->setClass("menu"); |
77 |
|
$item->addContent($menu); |
78 |
|
return $item; |