@@ -414,6 +414,10 @@ discard block |
||
414 | 414 | * @param array Array which is passed by reference and contains the an id per url to secure we will not crawl duplicates |
415 | 415 | * @param array Array which will be filled with URLS for download if flag is set. |
416 | 416 | * @param array Array of processing instructions |
417 | + * @param integer $scheduledTime |
|
418 | + * @param integer $reqMinute |
|
419 | + * @param boolean $submitCrawlUrls |
|
420 | + * @param boolean $downloadCrawlUrls |
|
417 | 421 | * @return string List of URLs (meant for display in backend module) |
418 | 422 | * |
419 | 423 | */ |
@@ -538,7 +542,6 @@ discard block |
||
538 | 542 | * This methods returns an array of configurations. |
539 | 543 | * And no urls! |
540 | 544 | * |
541 | - * @param integer $id Page ID |
|
542 | 545 | * @return array |
543 | 546 | */ |
544 | 547 | public function getUrlsForPageId($pageId) |
@@ -907,7 +910,7 @@ discard block |
||
907 | 910 | * The number of URLs will be the multiplication of the number of parameter values for each key |
908 | 911 | * |
909 | 912 | * @param array $paramArray Output of expandParameters(): Array with keys (GET var names) and for each an array of values |
910 | - * @param array $urls URLs accumulated in this array (for recursion) |
|
913 | + * @param string[] $urls URLs accumulated in this array (for recursion) |
|
911 | 914 | * @return array |
912 | 915 | */ |
913 | 916 | public function compileUrls($paramArray, array $urls) |
@@ -1650,7 +1653,7 @@ discard block |
||
1650 | 1653 | * @param array $url |
1651 | 1654 | * @param string $crawlerId |
1652 | 1655 | * |
1653 | - * @return array |
|
1656 | + * @return string[] |
|
1654 | 1657 | */ |
1655 | 1658 | protected function buildRequestHeaderArray(array $url, $crawlerId) |
1656 | 1659 | { |
@@ -1923,6 +1926,7 @@ discard block |
||
1923 | 1926 | * |
1924 | 1927 | * @param array Page row |
1925 | 1928 | * @param string Page icon and title for row |
1929 | + * @param string $pageTitleAndIcon |
|
1926 | 1930 | * @return string HTML <tr> content (one or more) |
1927 | 1931 | */ |
1928 | 1932 | public function drawURLs_addRowsForPage(array $pageRow, $pageTitleAndIcon) |
@@ -2047,7 +2051,7 @@ discard block |
||
2047 | 2051 | * @param int $countInARun |
2048 | 2052 | * @param int $sleepTime |
2049 | 2053 | * @param int $sleepAfterFinish |
2050 | - * @return string |
|
2054 | + * @return integer |
|
2051 | 2055 | */ |
2052 | 2056 | public function CLI_run($countInARun, $sleepTime, $sleepAfterFinish) |
2053 | 2057 | { |
@@ -2349,6 +2353,7 @@ discard block |
||
2349 | 2353 | * Used to determine timeouts and to ensure a proper cleanup if there's a timeout |
2350 | 2354 | * |
2351 | 2355 | * @param string identification string for the process |
2356 | + * @param string $pid |
|
2352 | 2357 | * @return boolean determines if the process is still active / has resources |
2353 | 2358 | * |
2354 | 2359 | * TODO: Please consider moving this to Domain Model for Process or in ProcessRepository |