]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Sun, 7 Dec 2014 22:20:01 +0000 (23:20 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 7 Dec 2014 22:20:01 +0000 (23:20 +0100)
- Fixed name for getter
- Added commented-out debug lines
- Updated to latest 'core'

Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/source/urls/class_CrawlerUploadedListUrlSource.php
core

index dd2a84ead80be704ccfde780e3a4ad826a40f607..ec77631f0c64191c4ca852d3974b6e1f97ca667c 100644 (file)
@@ -94,6 +94,8 @@ class CrawlerUploadedListUrlSource extends BaseUrlSource implements UrlSource, R
         * @return      $isFound        Whether a CSV file is found
         */
        private function isCsvFileFound () {
+               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CRAWLER-SOURCE [' . __METHOD__ . ':' . __LINE__ . ']: CALLED!');
+
                // Is the instance valid?
                if (!$this->getDirectoryInstance()->getDirectoryIteratorInstance()->valid()) {
                        // Then rewind it
@@ -101,6 +103,7 @@ class CrawlerUploadedListUrlSource extends BaseUrlSource implements UrlSource, R
                } // END - if
 
                // Read next entry
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CRAWLER-SOURCE [' . __METHOD__ . ':' . __LINE__ . ']: this->csvFileImported=' . print_r($this->csvFileImported, TRUE));
                $directoryEntry = $this->getDirectoryInstance()->readDirectoryExcept(array_merge(array('.htaccess', '.', '..'), $this->csvFileImported));
 
                // The read entry has not to be empty and extension must be '.csv'
@@ -113,6 +116,7 @@ class CrawlerUploadedListUrlSource extends BaseUrlSource implements UrlSource, R
                $this->lastCsvFileInstance = ObjectFactory::createObjectByConfiguredName('csv_file_class', array($this->csvFilePath . '/' . $directoryEntry));
 
                // Found an entry
+               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CRAWLER-SOURCE [' . __METHOD__ . ':' . __LINE__ . ']: EXIT!');
                return TRUE;
        }
 
@@ -148,7 +152,7 @@ class CrawlerUploadedListUrlSource extends BaseUrlSource implements UrlSource, R
         *
         * @return      $stackSourceInstance    An instance of an additional stack
         */
-       public final function stackSourceInstance () {
+       public final function getStackSourceInstance () {
                return $this->stackSourceInstance;
        }
 
diff --git a/core b/core
index c8ea0af3f3bfe092c38f0864d689a82172af19c0..3333662bc8456250b12127c35a9365b403c1f40a 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit c8ea0af3f3bfe092c38f0864d689a82172af19c0
+Subproject commit 3333662bc8456250b12127c35a9365b403c1f40a