AdvancedValueBinder
extends DefaultValueBinder
in package
implements
IValueBinder
Table of Contents
Interfaces
Methods
- bindValue() : bool
- Bind value to a cell.
- dataTypeForValue() : string
- DataType for value.
- setCurrency() : bool
- setImproperFraction() : bool
- setPercentage() : bool
- setProperFraction() : bool
- setTimeHoursMinutes() : bool
- setTimeHoursMinutesSeconds() : bool
Methods
bindValue()
Bind value to a cell.
public
bindValue(Cell $cell[, mixed $value = null ]) : bool
Parameters
- $cell : Cell
-
Cell to bind value to
- $value : mixed = null
-
Value to bind in cell
Return values
booldataTypeForValue()
DataType for value.
public
static dataTypeForValue(mixed $value) : string
Parameters
- $value : mixed
Return values
stringsetCurrency()
protected
setCurrency(float $value, Cell $cell, string $currencyCode) : bool
Parameters
- $value : float
- $cell : Cell
- $currencyCode : string
Return values
boolsetImproperFraction()
protected
setImproperFraction(array<string|int, mixed> $matches, Cell $cell) : bool
Parameters
- $matches : array<string|int, mixed>
- $cell : Cell
Return values
boolsetPercentage()
protected
setPercentage(string $value, Cell $cell) : bool
Parameters
- $value : string
- $cell : Cell
Return values
boolsetProperFraction()
protected
setProperFraction(array<string|int, mixed> $matches, Cell $cell) : bool
Parameters
- $matches : array<string|int, mixed>
- $cell : Cell
Return values
boolsetTimeHoursMinutes()
protected
setTimeHoursMinutes(string $value, Cell $cell) : bool
Parameters
- $value : string
- $cell : Cell
Return values
boolsetTimeHoursMinutesSeconds()
protected
setTimeHoursMinutesSeconds(string $value, Cell $cell) : bool
Parameters
- $value : string
- $cell : Cell