Table of Contents
Interfaces
- WizardInterface
Properties
-
$cellRange
: string
-
$expression
: string
-
$referenceCell
: string
-
$referenceColumn
: int
-
$referenceRow
: int
-
$stopIfTrue
: bool
-
$style
: Style|null
Methods
-
__call()
: self
-
__construct()
: mixed
-
expression()
: self
-
formula()
: Expression
-
fromConditional()
: WizardInterface
-
getCellRange()
: string
-
getConditional()
: Conditional
-
getStopIfTrue()
: bool
-
getStyle()
: Style
-
reverseAdjustCellRef()
: string
-
setCellRange()
: void
-
setStopIfTrue()
: void
-
setStyle()
: void
-
adjustConditionsForCellReferences()
: array<string|int, mixed>
-
cellConditionCheck()
: string
-
conditionCellAdjustment()
: string
-
reverseCellAdjustment()
: string
-
setReferenceCellForExpressions()
: void
-
validateOperand()
: string
$cellRange
protected
string
$cellRange
$expression
protected
string
$expression
$referenceCell
protected
string
$referenceCell
$referenceColumn
protected
int
$referenceColumn
$referenceRow
protected
int
$referenceRow
$stopIfTrue
protected
bool
$stopIfTrue
= false
$style
protected
Style|null
$style
= null
__call()
public
__call(string $methodName, array<string|int, string> $arguments) : self
Parameters
-
$methodName
: string
-
-
$arguments
: array<string|int, string>
-
__construct()
public
__construct(string $cellRange) : mixed
Parameters
-
$cellRange
: string
-
expression()
public
expression(string $expression) : self
Parameters
-
$expression
: string
-
public
formula([string $expression = ]) : Expression
Parameters
-
$expression
: string
=
-
fromConditional()
public
static fromConditional(Conditional $conditional[, string $cellRange = 'A1' ]) : WizardInterface
Parameters
-
$conditional
: Conditional
-
-
$cellRange
: string
= 'A1'
-
getCellRange()
public
getCellRange() : string
getConditional()
public
getConditional() : Conditional
getStopIfTrue()
public
getStopIfTrue() : bool
getStyle()
public
getStyle() : Style
reverseAdjustCellRef()
public
static reverseAdjustCellRef(string $condition, string $cellRange) : string
Parameters
-
$condition
: string
-
-
$cellRange
: string
-
setCellRange()
public
setCellRange(string $cellRange) : void
Parameters
-
$cellRange
: string
-
setStopIfTrue()
public
setStopIfTrue(bool $stopIfTrue) : void
Parameters
-
$stopIfTrue
: bool
-
setStyle()
public
setStyle(Style $style) : void
Parameters
-
$style
: Style
-
adjustConditionsForCellReferences()
protected
adjustConditionsForCellReferences(array<string|int, mixed> $conditions) : array<string|int, mixed>
Parameters
-
$conditions
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
cellConditionCheck()
protected
cellConditionCheck(string $condition) : string
Parameters
-
$condition
: string
-
conditionCellAdjustment()
protected
conditionCellAdjustment(array<string|int, mixed> $matches) : string
Parameters
-
$matches
: array<string|int, mixed>
-
reverseCellAdjustment()
protected
static reverseCellAdjustment(array<string|int, mixed> $matches, int $referenceColumn, int $referenceRow) : string
Parameters
-
$matches
: array<string|int, mixed>
-
-
$referenceColumn
: int
-
-
$referenceRow
: int
-
setReferenceCellForExpressions()
protected
setReferenceCellForExpressions(string $conditionalRange) : void
Parameters
-
$conditionalRange
: string
-
validateOperand()
protected
validateOperand(string $operand[, string $operandValueType = Wizard::VALUE_TYPE_LITERAL ]) : string
Parameters
-
$operand
: string
-
-
$operandValueType
: string
= Wizard::VALUE_TYPE_LITERAL
-