Table of Contents
Interfaces
- WizardInterface
Constants
-
EXPRESSIONS
= [\PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard::NOT_BLANKS => 'LEN(TRIM(%s))>0', \PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard::BLANKS => 'LEN(TRIM(%s))=0']
-
OPERATORS
= ['notBlank' => false, 'isBlank' => true, 'notEmpty' => false, 'empty' => true]
Properties
-
$cellRange
: string
-
$expression
: string
-
$inverse
: bool
-
$referenceCell
: string
-
$referenceColumn
: int
-
$referenceRow
: int
-
$stopIfTrue
: bool
-
$style
: Style|null
Methods
-
__call()
: self
-
__construct()
: mixed
-
fromConditional()
: WizardInterface
-
getCellRange()
: string
-
getConditional()
: Conditional
-
getStopIfTrue()
: bool
-
getStyle()
: Style
-
isBlank()
: Blanks
-
isEmpty()
: Blanks
-
notBlank()
: Blanks
-
notEmpty()
: Blanks
-
reverseAdjustCellRef()
: string
-
setCellRange()
: void
-
setStopIfTrue()
: void
-
setStyle()
: void
-
adjustConditionsForCellReferences()
: array<string|int, mixed>
-
cellConditionCheck()
: string
-
conditionCellAdjustment()
: string
-
getExpression()
: void
-
inverse()
: void
-
reverseCellAdjustment()
: string
-
setReferenceCellForExpressions()
: void
-
validateOperand()
: string
EXPRESSIONS
protected
mixed
EXPRESSIONS
= [\PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard::NOT_BLANKS => 'LEN(TRIM(%s))>0', \PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard::BLANKS => 'LEN(TRIM(%s))=0']
OPERATORS
protected
mixed
OPERATORS
= ['notBlank' => false, 'isBlank' => true, 'notEmpty' => false, 'empty' => true]
$cellRange
protected
string
$cellRange
$expression
protected
string
$expression
$inverse
protected
bool
$inverse
$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, mixed> $arguments) : self
Parameters
-
$methodName
: string
-
-
$arguments
: array<string|int, mixed>
-
__construct()
public
__construct(string $cellRange[, bool $inverse = false ]) : mixed
Parameters
-
$cellRange
: string
-
-
$inverse
: bool
= false
-
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
isBlank()
public
isBlank() : Blanks
isEmpty()
public
isEmpty() : Blanks
notBlank()
public
notBlank() : Blanks
notEmpty()
public
notEmpty() : Blanks
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>
-
getExpression()
protected
getExpression() : void
inverse()
protected
inverse(bool $inverse) : void
Parameters
-
$inverse
: bool
-
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
-