@@ -10,6 +10,9 @@ discard block |
||
| 10 | 10 | class HtmlList extends HtmlSemCollection{ |
| 11 | 11 | protected $_hasCheckedList; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param string $identifier |
|
| 15 | + */ |
|
| 13 | 16 | public function __construct( $identifier, $items=array()){ |
| 14 | 17 | parent::__construct( $identifier, "div", "ui list"); |
| 15 | 18 | $this->addItems($items); |
@@ -27,6 +30,9 @@ discard block |
||
| 27 | 30 | return $item; |
| 28 | 31 | } |
| 29 | 32 | |
| 33 | + /** |
|
| 34 | + * @param integer $niveau |
|
| 35 | + */ |
|
| 30 | 36 | public function addHeader($niveau,$content){ |
| 31 | 37 | return $this->wrap(new HtmlHeader("header-".$this->identifier,$niveau,$content,"page")); |
| 32 | 38 | } |