@@ -407,6 +407,10 @@ discard block |
||
407 | 407 | * @param array Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates |
408 | 408 | * @param array Array which will be filled with URLS for download if flag is set. |
409 | 409 | * @param array Array of processing instructions |
410 | + * @param integer $scheduledTime |
|
411 | + * @param integer $reqMinute |
|
412 | + * @param boolean $submitCrawlUrls |
|
413 | + * @param boolean $downloadCrawlUrls |
|
410 | 414 | * @return string List of URLs (meant for display in backend module) |
411 | 415 | * |
412 | 416 | */ |
@@ -701,7 +705,7 @@ discard block |
||
701 | 705 | } |
702 | 706 | |
703 | 707 | /** |
704 | - * @param $rootid |
|
708 | + * @param integer $rootid |
|
705 | 709 | * @param $depth |
706 | 710 | * @return array |
707 | 711 | * |
@@ -962,7 +966,7 @@ discard block |
||
962 | 966 | * The number of URLs will be the multiplication of the number of parameter values for each key |
963 | 967 | * |
964 | 968 | * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values |
965 | - * @param array $urls URLs accumulated in this array (for recursion) |
|
969 | + * @param string[] $urls URLs accumulated in this array (for recursion) |
|
966 | 970 | * @return array |
967 | 971 | */ |
968 | 972 | public function compileUrls($paramArray, $urls = []) |
@@ -1722,7 +1726,7 @@ discard block |
||
1722 | 1726 | * @param array $url |
1723 | 1727 | * @param string $crawlerId |
1724 | 1728 | * |
1725 | - * @return array |
|
1729 | + * @return string[] |
|
1726 | 1730 | */ |
1727 | 1731 | protected function buildRequestHeaderArray(array $url, $crawlerId) |
1728 | 1732 | { |
@@ -1995,6 +1999,7 @@ discard block |
||
1995 | 1999 | * |
1996 | 2000 | * @param array Page row |
1997 | 2001 | * @param string Page icon and title for row |
2002 | + * @param string $pageTitleAndIcon |
|
1998 | 2003 | * @return string HTML <tr> content (one or more) |
1999 | 2004 | */ |
2000 | 2005 | public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon) |
@@ -2119,7 +2124,7 @@ discard block |
||
2119 | 2124 | * @param int $countInARun |
2120 | 2125 | * @param int $sleepTime |
2121 | 2126 | * @param int $sleepAfterFinish |
2122 | - * @return string |
|
2127 | + * @return integer |
|
2123 | 2128 | */ |
2124 | 2129 | public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish) |
2125 | 2130 | { |
@@ -2421,6 +2426,7 @@ discard block |
||
2421 | 2426 | * Used to determine timeouts and to ensure a proper cleanup if there's a timeout |
2422 | 2427 | * |
2423 | 2428 | * @param string identification string for the process |
2429 | + * @param string $pid |
|
2424 | 2430 | * @return boolean determines if the process is still active / has resources |
2425 | 2431 | * |
2426 | 2432 | * TODO: Please consider moving this to Domain Model for Process or in ProcessRepository |