Constants

CONDITION_NONE

CONDITION_NONE = 'none'

CONDITION_CELLIS

CONDITION_CELLIS = 'cellIs'

CONDITION_CONTAINSTEXT

CONDITION_CONTAINSTEXT = 'containsText'

CONDITION_EXPRESSION

CONDITION_EXPRESSION = 'expression'

OPERATOR_NONE

OPERATOR_NONE = ''

OPERATOR_BEGINSWITH

OPERATOR_BEGINSWITH = 'beginsWith'

OPERATOR_ENDSWITH

OPERATOR_ENDSWITH = 'endsWith'

OPERATOR_EQUAL

OPERATOR_EQUAL = 'equal'

OPERATOR_GREATERTHAN

OPERATOR_GREATERTHAN = 'greaterThan'

OPERATOR_GREATERTHANOREQUAL

OPERATOR_GREATERTHANOREQUAL = 'greaterThanOrEqual'

OPERATOR_LESSTHAN

OPERATOR_LESSTHAN = 'lessThan'

OPERATOR_LESSTHANOREQUAL

OPERATOR_LESSTHANOREQUAL = 'lessThanOrEqual'

OPERATOR_NOTEQUAL

OPERATOR_NOTEQUAL = 'notEqual'

OPERATOR_CONTAINSTEXT

OPERATOR_CONTAINSTEXT = 'containsText'

OPERATOR_NOTCONTAINS

OPERATOR_NOTCONTAINS = 'notContains'

OPERATOR_BETWEEN

OPERATOR_BETWEEN = 'between'

Properties

$_conditionType

$_conditionType : integer

Condition type

Type

integer

$_operatorType

$_operatorType : integer

Operator type

Type

integer

$_text

$_text : string

Text

Type

string

$_condition

$_condition : array<mixed,string>

Condition

Type

array<mixed,string>

Methods

__construct()

__construct() 

Create a new PHPExcel_Style_Conditional

getConditionType()

getConditionType() : string

Get Condition type

Returns

string

setConditionType()

setConditionType(string  $pValue = \PHPExcel_Style_Conditional::CONDITION_NONE) : \PHPExcel_Style_Conditional

Set Condition type

Parameters

string $pValue

PHPExcel_Style_Conditional condition type

Returns

\PHPExcel_Style_Conditional

getOperatorType()

getOperatorType() : string

Get Operator type

Returns

string

setOperatorType()

setOperatorType(string  $pValue = \PHPExcel_Style_Conditional::OPERATOR_NONE) : \PHPExcel_Style_Conditional

Set Operator type

Parameters

string $pValue

PHPExcel_Style_Conditional operator type

Returns

\PHPExcel_Style_Conditional

getText()

getText() : string

Get text

Returns

string

setText()

setText(string  $value = null) : \PHPExcel_Style_Conditional

Set text

Parameters

string $value

Returns

\PHPExcel_Style_Conditional

getCondition()

getCondition() : string

Get Condition

Returns

string

setCondition()

setCondition(string  $pValue = '') : \PHPExcel_Style_Conditional

Set Condition

Parameters

string $pValue

Condition

Returns

\PHPExcel_Style_Conditional

getConditions()

getConditions() : array<mixed,string>

Get Conditions

Returns

array<mixed,string>

setConditions()

setConditions(array<mixed,string>  $pValue) : \PHPExcel_Style_Conditional

Set Conditions

Parameters

array<mixed,string> $pValue

Condition

Returns

\PHPExcel_Style_Conditional

addCondition()

addCondition(string  $pValue = '') : \PHPExcel_Style_Conditional

Add Condition

Parameters

string $pValue

Condition

Returns

\PHPExcel_Style_Conditional

getStyle()

getStyle() : \PHPExcel_Style

Get Style

Returns

\PHPExcel_Style

getHashCode()

getHashCode() : string

Get hash code

Returns

string —

Hash code

__clone()

__clone() 

Implement PHP __clone to create a deep clone, not just a shallow copy.