public static function FeedImportConfigurable::cleanLines in Feed Import 7.3
Helper function to get lines of a string
Parameters
string $str: The string to get non empty lines from
Return value
array An array of strings
4 calls to FeedImportConfigurable::cleanLines()
- DomXMLFIReader::init in feed_import_base/
inc/ feed_import_readers.inc - Here you'll init your reader.
- FeedImportMultiFilter::setOptions in feed_import_base/
inc/ feed_import_filter.inc - Sets options for this instance
- SimpleXMLFIReader::init in feed_import_base/
inc/ feed_import_readers.inc - Here you'll init your reader.
- SQLFIReader::init in feed_import_base/
inc/ feed_import_readers.inc - Here you'll init your reader.
File
- feed_import_base/
inc/ feed_import_abstract.inc, line 43 - This file contains abstract classes and interfaces for feed import.
Class
- FeedImportConfigurable
- This class provides methods to set options.
Code
public static function cleanLines($str) {
return preg_split('/\\r?\\n/', $str);
}