@@ -60,6 +60,10 @@ |
||
| 60 | 60 | } |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | + /** |
|
| 64 | + * @param Store $store |
|
| 65 | + * @param Options $options |
|
| 66 | + */ |
|
| 63 | 67 | private function addCallbackHandlers( $store, $options ) { |
| 64 | 68 | |
| 65 | 69 | $propertyRegistry = new PropertyRegistry(); |
@@ -82,6 +82,9 @@ discard block |
||
| 82 | 82 | $this->doTestParserAfterTidyToBailOutEarly( $instance ); |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | + /** |
|
| 86 | + * @param HookRegistry $instance |
|
| 87 | + */ |
|
| 85 | 88 | private function doTestInitProperties( $instance ) { |
| 86 | 89 | |
| 87 | 90 | $handler = 'SMW::Property::initProperties'; |
@@ -96,6 +99,9 @@ discard block |
||
| 96 | 99 | ); |
| 97 | 100 | } |
| 98 | 101 | |
| 102 | + /** |
|
| 103 | + * @param HookRegistry $instance |
|
| 104 | + */ |
|
| 99 | 105 | private function doTestSkinTemplateOutputPageBeforeExec( $instance, $skin ) { |
| 100 | 106 | |
| 101 | 107 | $handler = 'SkinTemplateOutputPageBeforeExec'; |
@@ -112,6 +118,9 @@ discard block |
||
| 112 | 118 | ); |
| 113 | 119 | } |
| 114 | 120 | |
| 121 | + /** |
|
| 122 | + * @param HookRegistry $instance |
|
| 123 | + */ |
|
| 115 | 124 | private function doTestBeforePageDisplay( $instance, $outputPage, $skin ) { |
| 116 | 125 | |
| 117 | 126 | $handler = 'BeforePageDisplay'; |
@@ -126,6 +135,9 @@ discard block |
||
| 126 | 135 | ); |
| 127 | 136 | } |
| 128 | 137 | |
| 138 | + /** |
|
| 139 | + * @param HookRegistry $instance |
|
| 140 | + */ |
|
| 129 | 141 | private function doTestParserAfterTidy( $instance ) { |
| 130 | 142 | |
| 131 | 143 | $handler = 'ParserAfterTidy'; |
@@ -168,6 +180,9 @@ discard block |
||
| 168 | 180 | ); |
| 169 | 181 | } |
| 170 | 182 | |
| 183 | + /** |
|
| 184 | + * @param HookRegistry $instance |
|
| 185 | + */ |
|
| 171 | 186 | private function doTestParserAfterTidyToBailOutEarly( $instance ) { |
| 172 | 187 | |
| 173 | 188 | $handler = 'ParserAfterTidy'; |
@@ -179,6 +179,9 @@ discard block |
||
| 179 | 179 | ); |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | + /** |
|
| 183 | + * @param DIWikiPage $subject |
|
| 184 | + */ |
|
| 182 | 185 | private function tryToUseSubpageHierarchyFallback( $subject, $parents ) { |
| 183 | 186 | |
| 184 | 187 | if ( $parents !== array() || !$this->bySubpageLinksFinder->canUseSubpageDiscoveryForFallback() ) { |
@@ -207,6 +210,9 @@ discard block |
||
| 207 | 210 | } |
| 208 | 211 | } |
| 209 | 212 | |
| 213 | + /** |
|
| 214 | + * @return string |
|
| 215 | + */ |
|
| 210 | 216 | private function getDvShortHtmlText( $subject, $linker = null ) { |
| 211 | 217 | |
| 212 | 218 | $displayTitle = ''; |
@@ -232,6 +238,9 @@ discard block |
||
| 232 | 238 | return $dataValue->getShortHtmlText( $linker ); |
| 233 | 239 | } |
| 234 | 240 | |
| 241 | + /** |
|
| 242 | + * @param string $subClass |
|
| 243 | + */ |
|
| 235 | 244 | private function wrapHtml( $subClass, $html = '' ) { |
| 236 | 245 | return Html::rawElement( 'span', array( |
| 237 | 246 | 'class' => $this->breadcrumbDividerStyleClass . '-' . $subClass, |