@@ -53,7 +53,7 @@ |
||
53 | 53 | * @param string $uri |
54 | 54 | * @param TypoScriptFrontendController $frontend |
55 | 55 | * |
56 | - * @return array |
|
56 | + * @return string[] |
|
57 | 57 | * |
58 | 58 | * @throws \Exception |
59 | 59 | * |
@@ -209,7 +209,7 @@ |
||
209 | 209 | /** |
210 | 210 | * Determines if a page is queued |
211 | 211 | * |
212 | - * @param $uid |
|
212 | + * @param integer $uid |
|
213 | 213 | * @param bool $unprocessed_only |
214 | 214 | * @param bool $timed_only |
215 | 215 | * @param bool $timestamp |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | /** |
358 | 358 | * Returns a tag for the refresh icon |
359 | 359 | * |
360 | - * @return string |
|
360 | + * @return ButtonUtility |
|
361 | 361 | */ |
362 | 362 | protected function getRefreshLink() |
363 | 363 | { |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | /** |
372 | 372 | * Returns a link for the panel to enable or disable the crawler |
373 | 373 | * |
374 | - * @return string |
|
374 | + * @return ButtonUtility |
|
375 | 375 | */ |
376 | 376 | protected function getEnableDisableLink() |
377 | 377 | { |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | * |
398 | 398 | * @param void |
399 | 399 | * |
400 | - * @return string a-tag |
|
400 | + * @return ButtonUtility|null a-tag |
|
401 | 401 | */ |
402 | 402 | protected function getModeLink() |
403 | 403 | { |
@@ -137,7 +137,7 @@ |
||
137 | 137 | /** |
138 | 138 | * Mark current value as selected by returning the "selected" attribute |
139 | 139 | * |
140 | - * @param $configurationArray |
|
140 | + * @param string $configurationArray |
|
141 | 141 | * @param $currentValue |
142 | 142 | * |
143 | 143 | * @return string |
@@ -44,8 +44,6 @@ |
||
44 | 44 | use TYPO3\CMS\Core\Utility\DebugUtility; |
45 | 45 | use TYPO3\CMS\Core\Utility\GeneralUtility; |
46 | 46 | use TYPO3\CMS\Core\Utility\MathUtility; |
47 | -use TYPO3\CMS\Extbase\Object\ObjectManager; |
|
48 | -use TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility; |
|
49 | 47 | |
50 | 48 | /** |
51 | 49 | * Class BackendModule |
@@ -404,6 +404,10 @@ discard block |
||
404 | 404 | * @param array Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates |
405 | 405 | * @param array Array which will be filled with URLS for download if flag is set. |
406 | 406 | * @param array Array of processing instructions |
407 | + * @param integer $scheduledTime |
|
408 | + * @param integer $reqMinute |
|
409 | + * @param boolean $submitCrawlUrls |
|
410 | + * @param boolean $downloadCrawlUrls |
|
407 | 411 | * @return string List of URLs (meant for display in backend module) |
408 | 412 | * |
409 | 413 | */ |
@@ -528,7 +532,7 @@ discard block |
||
528 | 532 | * |
529 | 533 | * @param string $piString PI to test |
530 | 534 | * @param array $incomingProcInstructions Processing instructions |
531 | - * @return boolean |
|
535 | + * @return boolean|null |
|
532 | 536 | */ |
533 | 537 | public function drawURLs_PIfilter($piString, array $incomingProcInstructions) |
534 | 538 | { |
@@ -959,7 +963,7 @@ discard block |
||
959 | 963 | * The number of URLs will be the multiplication of the number of parameter values for each key |
960 | 964 | * |
961 | 965 | * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values |
962 | - * @param array $urls URLs accumulated in this array (for recursion) |
|
966 | + * @param string[] $urls URLs accumulated in this array (for recursion) |
|
963 | 967 | * @return array |
964 | 968 | */ |
965 | 969 | public function compileUrls($paramArray, $urls = []) |
@@ -1613,6 +1617,7 @@ discard block |
||
1613 | 1617 | |
1614 | 1618 | /** |
1615 | 1619 | * @param message |
1620 | + * @param string $message |
|
1616 | 1621 | */ |
1617 | 1622 | protected function log($message) |
1618 | 1623 | { |
@@ -1630,7 +1635,7 @@ discard block |
||
1630 | 1635 | * @param array $url |
1631 | 1636 | * @param string $crawlerId |
1632 | 1637 | * |
1633 | - * @return array |
|
1638 | + * @return string[] |
|
1634 | 1639 | */ |
1635 | 1640 | protected function buildRequestHeaderArray(array $url, $crawlerId) |
1636 | 1641 | { |
@@ -1890,6 +1895,7 @@ discard block |
||
1890 | 1895 | * |
1891 | 1896 | * @param array Page row |
1892 | 1897 | * @param string Page icon and title for row |
1898 | + * @param string $pageTitleAndIcon |
|
1893 | 1899 | * @return string HTML <tr> content (one or more) |
1894 | 1900 | */ |
1895 | 1901 | public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon) |
@@ -2178,7 +2184,7 @@ discard block |
||
2178 | 2184 | /** |
2179 | 2185 | * Function executed by crawler_im.php cli script. |
2180 | 2186 | * |
2181 | - * @return bool |
|
2187 | + * @return null|boolean |
|
2182 | 2188 | */ |
2183 | 2189 | public function CLI_main_flush() |
2184 | 2190 | { |
@@ -2237,7 +2243,7 @@ discard block |
||
2237 | 2243 | * @param int $countInARun |
2238 | 2244 | * @param int $sleepTime |
2239 | 2245 | * @param int $sleepAfterFinish |
2240 | - * @return string |
|
2246 | + * @return integer |
|
2241 | 2247 | */ |
2242 | 2248 | public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish) |
2243 | 2249 | { |
@@ -2515,6 +2521,7 @@ discard block |
||
2515 | 2521 | * Used to determine timeouts and to ensure a proper cleanup if there's a timeout |
2516 | 2522 | * |
2517 | 2523 | * @param string identification string for the process |
2524 | + * @param string $pid |
|
2518 | 2525 | * @return boolean determines if the process is still active / has resources |
2519 | 2526 | * |
2520 | 2527 | * FIXME: Please remove Transaction, not needed as only a select query. |