Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard\Errors Class Reference
Inheritance diagram for PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard\Errors:
PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard\WizardAbstract PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard\WizardInterface

Public Member Functions

 __construct (string $cellRange, bool $inverse=false)
 
 __call (string $methodName, array $arguments)
 
 getCellRange ()
 
 getCellRange ()
 
 getConditional ()
 
 getStopIfTrue ()
 
 getStopIfTrue ()
 
 getStyle ()
 
 getStyle ()
 
 setCellRange (string $cellRange)
 
 setCellRange (string $cellRange)
 
 setStopIfTrue (bool $stopIfTrue)
 
 setStopIfTrue (bool $stopIfTrue)
 
 setStyle (Style $style)
 
 setStyle (Style $style)
 

Static Public Member Functions

static fromConditional (Conditional $conditional, string $cellRange='A1')
 
static reverseAdjustCellRef (string $condition, string $cellRange)
 

Protected Member Functions

 adjustConditionsForCellReferences (array $conditions)
 
 cellConditionCheck (string $condition)
 
 conditionCellAdjustment (array $matches)
 
 getExpression ()
 
 inverse (bool $inverse)
 
 setReferenceCellForExpressions (string $conditionalRange)
 
 validateOperand (string $operand, string $operandValueType=Wizard::VALUE_TYPE_LITERAL)
 

Static Protected Member Functions

static reverseCellAdjustment (array $matches, int $referenceColumn, int $referenceRow)
 

Protected Attributes

string $cellRange
 
string $expression
 
bool $inverse
 
string $referenceCell
 
int $referenceColumn
 
int $referenceRow
 
bool $stopIfTrue = false
 
Style $style = null
 
const EXPRESSIONS
 
const OPERATORS
 

Member Function Documentation

◆ __call()

PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard\Errors::__call ( string $methodName,
array $arguments )
Parameters
mixed[]$arguments

◆ fromConditional()

static PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard\Errors::fromConditional ( Conditional $conditional,
string $cellRange = 'A1' )
static

◆ getConditional()

PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard\Errors::getConditional ( )

Member Data Documentation

◆ EXPRESSIONS

const PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard\Errors::EXPRESSIONS
protected
Initial value:
= [
Wizard::NOT_ERRORS => 'NOT(ISERROR(%s))',
Wizard::ERRORS => 'ISERROR(%s)',
]

◆ OPERATORS

const PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting\Wizard\Errors::OPERATORS
protected
Initial value:
= [
'notError' => false,
'isError' => true,
]

The documentation for this class was generated from the following file: