@@ -53,6 +53,9 @@ discard block |
||
53 | 53 | $this->mUnsortedItems = $items; |
54 | 54 | } |
55 | 55 | |
56 | + /** |
|
57 | + * @param SRFOutlineItem $item |
|
58 | + */ |
|
56 | 59 | function addItem( $item ) { |
57 | 60 | $this->mUnsortedItems[] = $item; |
58 | 61 | $this->itemCount++; |
@@ -142,6 +145,9 @@ discard block |
||
142 | 145 | return $result; |
143 | 146 | } |
144 | 147 | |
148 | + /** |
|
149 | + * @param SRFOutlineTree $outline_tree |
|
150 | + */ |
|
145 | 151 | function printTree( $outline_tree, $level = 0 ) { |
146 | 152 | $text = ""; |
147 | 153 | if ( !is_null( $outline_tree->mUnsortedItems ) ) { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | /** |
47 | 47 | * @since 3.1 |
48 | 48 | * |
49 | - * @param OutlineTree $tree |
|
49 | + * @param \SRFOutlineTree $tree |
|
50 | 50 | * |
51 | 51 | * @return string |
52 | 52 | */ |
@@ -115,6 +115,9 @@ discard block |
||
115 | 115 | return "<div class='" . $this->params['template'] . "-item'>" . $template . '</div>'; |
116 | 116 | } |
117 | 117 | |
118 | + /** |
|
119 | + * @param Linker|null $linker |
|
120 | + */ |
|
118 | 121 | private function itemText( $dv, $linker, $printRequest, &$first_col ) { |
119 | 122 | |
120 | 123 | if ( $first_col && $printRequest->isMode( PrintRequest::PRINT_THIS ) ) { |
@@ -140,6 +143,9 @@ discard block |
||
140 | 143 | return $this->parameter( $printRequest->getLabel(), $text ); |
141 | 144 | } |
142 | 145 | |
146 | + /** |
|
147 | + * @param string $v |
|
148 | + */ |
|
143 | 149 | private function open( $v ) { |
144 | 150 | return "{{" . $v; |
145 | 151 | } |