Differences Between: [Versions 310 and 311] [Versions 39 and 311]
(no description)
File Size: | 243 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ReaderAbstract:: (11 methods):
__construct()
setShouldFormatDates()
setShouldPreserveEmptyRows()
open()
getFileRealPath()
getStreamWrapperScheme()
isStreamWrapper()
isSupportedStreamWrapper()
isPhpStream()
getSheetIterator()
close()
Class: ReaderAbstract - X-Ref
Class ReaderAbstract__construct(OptionsManagerInterface $optionsManager,GlobalFunctionsHelper $globalFunctionsHelper,InternalEntityFactoryInterface $entityFactory) X-Ref |
param: OptionsManagerInterface $optionsManager param: GlobalFunctionsHelper $globalFunctionsHelper param: InternalEntityFactoryInterface $entityFactory |
setShouldFormatDates($shouldFormatDates) X-Ref |
Sets whether date/time values should be returned as PHP objects or be formatted as strings. param: bool $shouldFormatDates return: ReaderAbstract |
setShouldPreserveEmptyRows($shouldPreserveEmptyRows) X-Ref |
Sets whether empty rows should be returned or skipped. param: bool $shouldPreserveEmptyRows return: ReaderAbstract |
open($filePath) X-Ref |
Prepares the reader to read the given file. It also makes sure that the file exists and is readable. param: string $filePath Path of the file to be read return: void |
getFileRealPath($filePath) X-Ref |
Returns the real path of the given path. If the given path is a valid stream wrapper, returns the path unchanged. param: string $filePath return: string |
getStreamWrapperScheme($filePath) X-Ref |
Returns the scheme of the custom stream wrapper, if the path indicates a stream wrapper is used. For example, php://temp => php, s3://path/to/file => s3... param: string $filePath Path of the file to be read return: string|null The stream wrapper scheme or NULL if not a stream wrapper |
isStreamWrapper($filePath) X-Ref |
Checks if the given path is an unsupported stream wrapper (like local path, php://temp, mystream://foo/bar...). param: string $filePath Path of the file to be read return: bool Whether the given path is an unsupported stream wrapper |
isSupportedStreamWrapper($filePath) X-Ref |
Checks if the given path is an supported stream wrapper (like php://temp, mystream://foo/bar...). If the given path is a local path, returns true. param: string $filePath Path of the file to be read return: bool Whether the given path is an supported stream wrapper |
isPhpStream($filePath) X-Ref |
Checks if a path is a PHP stream (like php://output, php://memory, ...) param: string $filePath Path of the file to be read return: bool Whether the given path maps to a PHP stream |
getSheetIterator() X-Ref |
Returns an iterator to iterate over sheets. return: \Iterator To iterate over sheets |
close() X-Ref |
Closes the reader, preventing any additional reading return: void |