PHP Class Box\Spout\Reader\Common\ReaderOptions

Datei anzeigen Open project: box/spout

Protected Properties

Property Type Description
$shouldFormatDates Whether date/time values should be returned as PHP objects or be formatted as strings
$shouldPreserveEmptyRows Whether empty rows should be returned or skipped

Public Methods

Method Description
setShouldFormatDates ( boolean $shouldFormatDates ) : ReaderOptions Sets whether date/time values should be returned as PHP objects or be formatted as strings.
setShouldPreserveEmptyRows ( boolean $shouldPreserveEmptyRows ) : ReaderOptions Sets whether empty rows should be returned or skipped.
shouldFormatDates ( ) : boolean
shouldPreserveEmptyRows ( ) : boolean

Method Details

setShouldFormatDates() public method

Sets whether date/time values should be returned as PHP objects or be formatted as strings.
public setShouldFormatDates ( boolean $shouldFormatDates ) : ReaderOptions
$shouldFormatDates boolean
return ReaderOptions

setShouldPreserveEmptyRows() public method

Sets whether empty rows should be returned or skipped.
public setShouldPreserveEmptyRows ( boolean $shouldPreserveEmptyRows ) : ReaderOptions
$shouldPreserveEmptyRows boolean
return ReaderOptions

shouldFormatDates() public method

public shouldFormatDates ( ) : boolean
return boolean Whether date/time values should be returned as PHP objects or be formatted as strings.

shouldPreserveEmptyRows() public method

public shouldPreserveEmptyRows ( ) : boolean
return boolean Whether empty rows should be returned or skipped.

Property Details

$shouldFormatDates protected_oe property

Whether date/time values should be returned as PHP objects or be formatted as strings
protected $shouldFormatDates

$shouldPreserveEmptyRows protected_oe property

Whether empty rows should be returned or skipped
protected $shouldPreserveEmptyRows