PHP 클래스 Box\Spout\Reader\XLSX\Reader

상속: extends Box\Spout\Reader\AbstractReader
파일 보기 프로젝트 열기: box/spout 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$sharedStringsHelper Helper to work with shared strings
$sheetIterator To iterator over the XLSX sheets
$zip ZipArchive

공개 메소드들

메소드 설명
setTempFolder ( string $tempFolder ) : Reader

보호된 메소드들

메소드 설명
closeReader ( ) : void Closes the reader. To be used after reading the file.
doesSupportStreamWrapper ( ) : boolean Returns whether stream wrappers are supported
getConcreteSheetIterator ( ) : SheetIterator Returns an iterator to iterate over sheets.
getOptions ( ) : ReaderOptions Returns the reader's current options
openReader ( string $filePath ) : void Opens the file at the given file path to make it ready to be read.

메소드 상세

closeReader() 보호된 메소드

Closes the reader. To be used after reading the file.
protected closeReader ( ) : void
리턴 void

doesSupportStreamWrapper() 보호된 메소드

Returns whether stream wrappers are supported
protected doesSupportStreamWrapper ( ) : boolean
리턴 boolean

getConcreteSheetIterator() 보호된 메소드

Returns an iterator to iterate over sheets.
protected getConcreteSheetIterator ( ) : SheetIterator
리턴 SheetIterator To iterate over sheets

getOptions() 보호된 메소드

Returns the reader's current options
protected getOptions ( ) : ReaderOptions
리턴 ReaderOptions

openReader() 보호된 메소드

It also parses the sharedStrings.xml file to get all the shared strings available in memory and fetches all the available sheets.
protected openReader ( string $filePath ) : void
$filePath string Path of the file to be read
리턴 void

setTempFolder() 공개 메소드

public setTempFolder ( string $tempFolder ) : Reader
$tempFolder string Temporary folder where the temporary files will be created
리턴 Reader

프로퍼티 상세

$sharedStringsHelper 보호되어 있는 프로퍼티

Helper to work with shared strings
protected $sharedStringsHelper

$sheetIterator 보호되어 있는 프로퍼티

To iterator over the XLSX sheets
protected $sheetIterator

$zip 보호되어 있는 프로퍼티

protected ZipArchive $zip
리턴 ZipArchive