Constants

CONDITION_NONE

CONDITION_NONE

CONDITION_CELLIS

CONDITION_CELLIS

CONDITION_CONTAINSTEXT

CONDITION_CONTAINSTEXT

CONDITION_EXPRESSION

CONDITION_EXPRESSION

OPERATOR_NONE

OPERATOR_NONE

OPERATOR_BEGINSWITH

OPERATOR_BEGINSWITH

OPERATOR_ENDSWITH

OPERATOR_ENDSWITH

OPERATOR_EQUAL

OPERATOR_EQUAL

OPERATOR_GREATERTHAN

OPERATOR_GREATERTHAN

OPERATOR_GREATERTHANOREQUAL

OPERATOR_GREATERTHANOREQUAL

OPERATOR_LESSTHAN

OPERATOR_LESSTHAN

OPERATOR_LESSTHANOREQUAL

OPERATOR_LESSTHANOREQUAL

OPERATOR_NOTEQUAL

OPERATOR_NOTEQUAL

OPERATOR_CONTAINSTEXT

OPERATOR_CONTAINSTEXT

OPERATOR_NOTCONTAINS

OPERATOR_NOTCONTAINS

OPERATOR_BETWEEN

OPERATOR_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.