public function FeedImportUniVectorReader::formatPath in Feed Import 7.3
Override this to preprocess your paths before they are used in map().
Parameters
string $path Path to format:
Return value
mixed Formatted path
Overrides FeedImportReader::formatPath
1 call to FeedImportUniVectorReader::formatPath()
- CSVFIReader::formatPath in feed_import_base/
inc/ feed_import_readers.inc - Override this to preprocess your paths before they are used in map().
1 method overrides FeedImportUniVectorReader::formatPath()
- CSVFIReader::formatPath in feed_import_base/
inc/ feed_import_readers.inc - Override this to preprocess your paths before they are used in map().
File
- feed_import_base/
inc/ feed_import_abstract.inc, line 337 - This file contains abstract classes and interfaces for feed import.
Class
- FeedImportUniVectorReader
- This class is a helper for unidimensional vector reader. This can be used for CSV, SQL results, etc.
Code
public function formatPath($path) {
return preg_split('/(\\s?\\|\\s?)/', $path, -1, PREG_SPLIT_NO_EMPTY);
}