@@ -770,6 +770,9 @@ discard block |
||
770 | 770 | return '(' . $downloadLinks . ')'; |
771 | 771 | } |
772 | 772 | |
773 | + /** |
|
774 | + * @param string $html |
|
775 | + */ |
|
773 | 776 | private function doFinalModificationsOnBorrowedOutput( &$html, &$searchInfoText ) { |
774 | 777 | |
775 | 778 | if ( !$this->getRequest()->getCheck( 'bTitle' ) ) { |
@@ -790,6 +793,7 @@ discard block |
||
790 | 793 | |
791 | 794 | /** |
792 | 795 | * FIXME MW 1.25 |
796 | + * @param string $key |
|
793 | 797 | */ |
794 | 798 | private function addExternalHelpLinkFor( $key ) { |
795 | 799 |
@@ -7,7 +7,7 @@ |
||
7 | 7 | use SMWDataItem as DataItem; |
8 | 8 | use SMWExpData as ExpData; |
9 | 9 | use SMWDIBlob as DIBlob; |
10 | -use SMWImportValue as ImportValue; |
|
10 | +use SMWImportValue as ImportValue; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * @private |
@@ -94,6 +94,9 @@ discard block |
||
94 | 94 | } |
95 | 95 | } |
96 | 96 | |
97 | + /** |
|
98 | + * @param DIProperty $property |
|
99 | + */ |
|
97 | 100 | protected function getResourceElementForProperty( $property ) { |
98 | 101 | |
99 | 102 | $key = 'resource:builder:' . $property->getKey(); |
@@ -112,6 +115,9 @@ discard block |
||
112 | 115 | return $resourceElement; |
113 | 116 | } |
114 | 117 | |
118 | + /** |
|
119 | + * @param DIProperty $property |
|
120 | + */ |
|
115 | 121 | protected function getResourceElementHelperForProperty( $property ) { |
116 | 122 | |
117 | 123 | $key = 'resource:builder:aux:' . $property->getKey(); |
@@ -40,7 +40,6 @@ discard block |
||
40 | 40 | /** |
41 | 41 | * @see DataValue::getShortWikiText |
42 | 42 | * |
43 | - * @param string $value |
|
44 | 43 | */ |
45 | 44 | public function getShortWikiText( $linker = null ) { |
46 | 45 | |
@@ -137,6 +136,9 @@ discard block |
||
137 | 136 | return $dataValue->getDataItem(); |
138 | 137 | } |
139 | 138 | |
139 | + /** |
|
140 | + * @return boolean |
|
141 | + */ |
|
140 | 142 | private function getExternalFormattedUri( $value ) { |
141 | 143 | |
142 | 144 | if ( $this->externalFormattedUri !== null ) { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace SMW\Exporter\ResourceBuilders; |
4 | 4 | |
5 | -use SMW\Exporter\ResourceBuilder; |
|
6 | 5 | use SMW\DIProperty; |
7 | 6 | use SMWExporter as Exporter; |
8 | 7 | use SMW\DataValueFactory; |
@@ -41,6 +41,7 @@ discard block |
||
41 | 41 | * |
42 | 42 | * @param string $tableName |
43 | 43 | * @param array|null $tableOptions |
44 | + * @return void |
|
44 | 45 | */ |
45 | 46 | public function createTable( $tableName, array $tableOptions = null ); |
46 | 47 | |
@@ -50,6 +51,7 @@ discard block |
||
50 | 51 | * @since 2.5 |
51 | 52 | * |
52 | 53 | * @param string $tableName |
54 | + * @return void |
|
53 | 55 | */ |
54 | 56 | public function dropTable( $tableName ); |
55 | 57 | |
@@ -66,8 +68,8 @@ discard block |
||
66 | 68 | * |
67 | 69 | * @since 2.5 |
68 | 70 | * |
69 | - * @param string $indexName |
|
70 | 71 | * @param array|null $indexOptions |
72 | + * @return void |
|
71 | 73 | */ |
72 | 74 | public function createIndex( $tableName, array $indexOptions = null ); |
73 | 75 |
@@ -131,6 +131,9 @@ discard block |
||
131 | 131 | $this->reportMessage( "done.\n" ); |
132 | 132 | } |
133 | 133 | |
134 | + /** |
|
135 | + * @param string $tableName |
|
136 | + */ |
|
134 | 137 | private function getIndexInfo( $tableName ) { |
135 | 138 | |
136 | 139 | $tableName = $this->connection->tableName( $tableName ); |
@@ -154,6 +157,9 @@ discard block |
||
154 | 157 | return $indices; |
155 | 158 | } |
156 | 159 | |
160 | + /** |
|
161 | + * @param string $tableName |
|
162 | + */ |
|
157 | 163 | private function doDropIndex( $tableName, $indexName, $columns ) { |
158 | 164 | $this->reportMessage( " ... removing index $columns ..." ); |
159 | 165 | $this->connection->query( 'DROP INDEX ' . $indexName, __METHOD__ ); |
@@ -131,6 +131,9 @@ discard block |
||
131 | 131 | $this->reportMessage( "done.\n" ); |
132 | 132 | } |
133 | 133 | |
134 | + /** |
|
135 | + * @param string $tableName |
|
136 | + */ |
|
134 | 137 | private function getIndexInfo( $tableName ) { |
135 | 138 | |
136 | 139 | $tableName = $this->connection->tableName( $tableName ); |
@@ -154,6 +157,9 @@ discard block |
||
154 | 157 | return $indices; |
155 | 158 | } |
156 | 159 | |
160 | + /** |
|
161 | + * @param string $tableName |
|
162 | + */ |
|
157 | 163 | private function doDropIndex( $tableName, $indexName, $columns ) { |
158 | 164 | $this->reportMessage( " ... removing index $columns ..." ); |
159 | 165 | $this->connection->query( 'DROP INDEX ' . $indexName, __METHOD__ ); |
@@ -131,6 +131,9 @@ discard block |
||
131 | 131 | $this->reportMessage( "done.\n" ); |
132 | 132 | } |
133 | 133 | |
134 | + /** |
|
135 | + * @param string $tableName |
|
136 | + */ |
|
134 | 137 | private function getIndexInfo( $tableName ) { |
135 | 138 | |
136 | 139 | $tableName = $this->connection->tableName( $tableName ); |
@@ -154,6 +157,9 @@ discard block |
||
154 | 157 | return $indices; |
155 | 158 | } |
156 | 159 | |
160 | + /** |
|
161 | + * @param string $tableName |
|
162 | + */ |
|
157 | 163 | private function doDropIndex( $tableName, $indexName, $columns ) { |
158 | 164 | $this->reportMessage( " ... removing index $columns ..." ); |
159 | 165 | $this->connection->query( 'DROP INDEX ' . $indexName, __METHOD__ ); |