@@ -153,6 +153,7 @@ |
||
| 153 | 153 | /** |
| 154 | 154 | * Renders a numeric range facet by providing a slider |
| 155 | 155 | * |
| 156 | + * @return string |
|
| 156 | 157 | */ |
| 157 | 158 | abstract protected function renderFacetOptions(); |
| 158 | 159 | |
@@ -106,6 +106,7 @@ |
||
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | 108 | * tbd |
| 109 | + * @param string $facetName |
|
| 109 | 110 | */ |
| 110 | 111 | protected function buildAddFacetUrl($facetName) |
| 111 | 112 | { |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | /** |
| 172 | - * @param $table |
|
| 172 | + * @param string $table |
|
| 173 | 173 | * @param $uid |
| 174 | 174 | * @param $changedFields |
| 175 | 175 | * @param $indexQueue |
@@ -349,7 +349,7 @@ discard block |
||
| 349 | 349 | * |
| 350 | 350 | * @param string $table The record's table name. |
| 351 | 351 | * @param integer $record The record's uid. |
| 352 | - * @return array The cleaned record |
|
| 352 | + * @return integer The cleaned record |
|
| 353 | 353 | */ |
| 354 | 354 | protected function normalizeFrontendGroupField($table, $record) |
| 355 | 355 | { |
@@ -371,7 +371,7 @@ discard block |
||
| 371 | 371 | * |
| 372 | 372 | * @param string $status Status of the current operation, 'new' or 'update' |
| 373 | 373 | * @param string $table The table the record belongs to |
| 374 | - * @param mixed $uid The record's uid, [integer] or [string] (like 'NEW...') |
|
| 374 | + * @param integer $uid The record's uid, [integer] or [string] (like 'NEW...') |
|
| 375 | 375 | * @param array $fields The record's data, not used |
| 376 | 376 | * @param DataHandler $tceMain TYPO3 Core Engine parent object, not used |
| 377 | 377 | */ |
@@ -418,7 +418,7 @@ discard block |
||
| 418 | 418 | * determines whether it is set on the current record. |
| 419 | 419 | * |
| 420 | 420 | * @param string $table The table name. |
| 421 | - * @param array $record An array with record fields that may affect visibility. |
|
| 421 | + * @param integer $record An array with record fields that may affect visibility. |
|
| 422 | 422 | * @return boolean True if the record is hidden, FALSE otherwise. |
| 423 | 423 | */ |
| 424 | 424 | protected function isHidden($table, $record) |
@@ -439,7 +439,7 @@ discard block |
||
| 439 | 439 | * making the record invisible on the website. |
| 440 | 440 | * |
| 441 | 441 | * @param string $table The table name. |
| 442 | - * @param array $record An array with record fields that may affect visibility. |
|
| 442 | + * @param integer $record An array with record fields that may affect visibility. |
|
| 443 | 443 | * @return boolean True if the record's start time is in the future, FALSE otherwise. |
| 444 | 444 | */ |
| 445 | 445 | protected function isStartTimeInFuture($table, $record) |
@@ -459,7 +459,7 @@ discard block |
||
| 459 | 459 | * indexed already. |
| 460 | 460 | * |
| 461 | 461 | * @param string $table The table name. |
| 462 | - * @param array $record An array with record fields that may affect visibility. |
|
| 462 | + * @param integer $record An array with record fields that may affect visibility. |
|
| 463 | 463 | * @return boolean True if the record is marked as being indexed |
| 464 | 464 | */ |
| 465 | 465 | protected function isMarkedAsIndexed($table, $record) |
@@ -474,7 +474,7 @@ discard block |
||
| 474 | 474 | * the record invisible to at least some people. |
| 475 | 475 | * |
| 476 | 476 | * @param string $table The table name. |
| 477 | - * @param array $record An array with record fields that may affect visibility. |
|
| 477 | + * @param integer $record An array with record fields that may affect visibility. |
|
| 478 | 478 | * @return boolean TRUE if frontend groups have been removed from access to the record, FALSE otherwise. |
| 479 | 479 | */ |
| 480 | 480 | protected function hasFrontendGroupsRemoved($table, $record) |
@@ -501,7 +501,7 @@ discard block |
||
| 501 | 501 | /** |
| 502 | 502 | * Checks whether the page has been excluded from searching. |
| 503 | 503 | * |
| 504 | - * @param array $record An array with record fields that may affect visibility. |
|
| 504 | + * @param integer $record An array with record fields that may affect visibility. |
|
| 505 | 505 | * @return boolean True if the page has been excluded from searching, FALSE otherwise |
| 506 | 506 | */ |
| 507 | 507 | protected function isPageExcludedFromSearch($record) |
@@ -513,7 +513,7 @@ discard block |
||
| 513 | 513 | * Checks whether a page has a page type that can be indexed. |
| 514 | 514 | * Currently standard pages and mount pages can be indexed. |
| 515 | 515 | * |
| 516 | - * @param array $record A page record |
|
| 516 | + * @param integer $record A page record |
|
| 517 | 517 | * @return boolean TRUE if the page can be indexed according to its page type, FALSE otherwise |
| 518 | 518 | */ |
| 519 | 519 | protected function isIndexablePageType(array $record) |
@@ -143,6 +143,7 @@ |
||
| 143 | 143 | * characters. |
| 144 | 144 | * |
| 145 | 145 | * @param string String to clean |
| 146 | + * @param string $content |
|
| 146 | 147 | * @return string String cleaned from tags and special whitespace characters |
| 147 | 148 | */ |
| 148 | 149 | public static function cleanContent($content) |
@@ -99,7 +99,7 @@ |
||
| 99 | 99 | * Indexes an item from the indexing queue. |
| 100 | 100 | * |
| 101 | 101 | * @param Item $item An index queue item |
| 102 | - * @return Apache_Solr_Response The Apache Solr response |
|
| 102 | + * @return boolean The Apache Solr response |
|
| 103 | 103 | */ |
| 104 | 104 | public function index(Item $item) |
| 105 | 105 | { |
@@ -350,6 +350,9 @@ |
||
| 350 | 350 | } |
| 351 | 351 | } |
| 352 | 352 | |
| 353 | + /** |
|
| 354 | + * @param string $key |
|
| 355 | + */ |
|
| 353 | 356 | public function hasIndexingProperty($key) |
| 354 | 357 | { |
| 355 | 358 | $this->loadIndexingProperties(); |
@@ -204,7 +204,7 @@ |
||
| 204 | 204 | /** |
| 205 | 205 | * Generates the headers to be send with the request. |
| 206 | 206 | * |
| 207 | - * @return array Array of HTTP headers. |
|
| 207 | + * @return string[] Array of HTTP headers. |
|
| 208 | 208 | */ |
| 209 | 209 | public function getHeaders() |
| 210 | 210 | { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * Turns a JSON encoded result string back into its PHP representation. |
| 54 | 54 | * |
| 55 | - * @param string $jsonEncodedResults JSON encoded result string |
|
| 55 | + * @param string $jsonEncodedResponse JSON encoded result string |
|
| 56 | 56 | * @return array|boolean An array of action => result pairs or FALSE if the response could not be decoded |
| 57 | 57 | */ |
| 58 | 58 | public static function getResultsFromJson($jsonEncodedResponse) |
@@ -856,7 +856,7 @@ |
||
| 856 | 856 | * Marks an item as failed and causes the indexer to skip the item in the |
| 857 | 857 | * next run. |
| 858 | 858 | * |
| 859 | - * @param int|Item $item Either the item's Index Queue |
|
| 859 | + * @param Item $item Either the item's Index Queue |
|
| 860 | 860 | * uid or the complete item |
| 861 | 861 | * @param string $errorMessage Error message |
| 862 | 862 | */ |