* @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
} // 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'
$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;
}
*
* @return $stackSourceInstance An instance of an additional stack
*/
- public final function stackSourceInstance () {
+ public final function getStackSourceInstance () {
return $this->stackSourceInstance;
}