@@ 37-44 (lines=8) @@ | ||
34 | * @param \hemio\html\Interface_\HtmlCode $header |
|
35 | * @return \hemio\html\Ul |
|
36 | */ |
|
37 | public function addSubUl(\hemio\html\Interface_\HtmlCode $header) |
|
38 | { |
|
39 | $li = $this->addChild(new \hemio\html\Li); |
|
40 | $li->addChild($header); |
|
41 | $newList = new \hemio\html\Ul(); |
|
42 | $li->addChild($newList); |
|
43 | return $newList; |
|
44 | } |
|
45 | ||
46 | /** |
|
47 | * |
|
@@ 51-58 (lines=8) @@ | ||
48 | * @param \hemio\html\Interface_\HtmlCode $header |
|
49 | * @return \hemio\html\Ol |
|
50 | */ |
|
51 | public function addSubOl(\hemio\html\Interface_\HtmlCode $header) |
|
52 | { |
|
53 | $li = $this->addChild(new \hemio\html\Li); |
|
54 | $li->addChild($header); |
|
55 | $newList = new \hemio\html\Ol(); |
|
56 | $li->addChild($newList); |
|
57 | return $newList; |
|
58 | } |
|
59 | ||
60 | public function isValidChild(\hemio\html\Interface_\HtmlCode $child) |
|
61 | { |