StringValueBinder
extends DefaultValueBinder
in package
implements
IValueBinder
Table of Contents
Interfaces
Properties
- $convertBoolean : bool
- $convertFormula : bool
- $convertNull : bool
- $convertNumeric : bool
- $setIgnoredErrors : bool
Methods
- bindValue() : bool
- Bind value to a cell.
- dataTypeForValue() : string
- DataType for value.
- getBooleanConversion() : bool
- setBooleanConversion() : self
- setConversionForAllValueTypes() : self
- setFormulaConversion() : self
- setNullConversion() : self
- setNumericConversion() : self
- setSetIgnoredErrors() : self
- bindObjectValue() : bool
Properties
$convertBoolean
protected
bool
$convertBoolean
= true
$convertFormula
protected
bool
$convertFormula
= true
$convertNull
protected
bool
$convertNull
= true
$convertNumeric
protected
bool
$convertNumeric
= true
$setIgnoredErrors
protected
bool
$setIgnoredErrors
= false
Methods
bindValue()
Bind value to a cell.
public
bindValue(Cell $cell, mixed $value) : bool
Parameters
- $cell : Cell
-
Cell to bind value to
- $value : mixed
-
Value to bind in cell
Return values
booldataTypeForValue()
DataType for value.
public
static dataTypeForValue(mixed $value) : string
Parameters
- $value : mixed
Return values
stringgetBooleanConversion()
public
getBooleanConversion() : bool
Return values
boolsetBooleanConversion()
public
setBooleanConversion([bool $suppressConversion = false ]) : self
Parameters
- $suppressConversion : bool = false
Return values
selfsetConversionForAllValueTypes()
public
setConversionForAllValueTypes([bool $suppressConversion = false ]) : self
Parameters
- $suppressConversion : bool = false
Return values
selfsetFormulaConversion()
public
setFormulaConversion([bool $suppressConversion = false ]) : self
Parameters
- $suppressConversion : bool = false
Return values
selfsetNullConversion()
public
setNullConversion([bool $suppressConversion = false ]) : self
Parameters
- $suppressConversion : bool = false
Return values
selfsetNumericConversion()
public
setNumericConversion([bool $suppressConversion = false ]) : self
Parameters
- $suppressConversion : bool = false
Return values
selfsetSetIgnoredErrors()
public
setSetIgnoredErrors([bool $setIgnoredErrors = false ]) : self
Parameters
- $setIgnoredErrors : bool = false
Return values
selfbindObjectValue()
protected
bindObjectValue(Cell $cell, object $value) : bool
Parameters
- $cell : Cell
- $value : object