class Conditional implements IComparable (View source)

Constants

CONDITION_NONE

CONDITION_CELLIS

CONDITION_CONTAINSTEXT

CONDITION_EXPRESSION

CONDITION_CONTAINSBLANKS

OPERATOR_NONE

OPERATOR_BEGINSWITH

OPERATOR_ENDSWITH

OPERATOR_EQUAL

OPERATOR_GREATERTHAN

OPERATOR_GREATERTHANOREQUAL

OPERATOR_LESSTHAN

OPERATOR_LESSTHANOREQUAL

OPERATOR_NOTEQUAL

OPERATOR_CONTAINSTEXT

OPERATOR_NOTCONTAINS

OPERATOR_BETWEEN

Methods

__construct()

Create a new Conditional.

string
getConditionType()

Get Condition type.

setConditionType(string $pValue)

Set Condition type.

string
getOperatorType()

Get Operator type.

setOperatorType(string $pValue)

Set Operator type.

string
getText()

Get text.

setText(string $value)

Set text.

bool
getStopIfTrue()

Get StopIfTrue.

setStopIfTrue(bool $value)

Set StopIfTrue.

string[]
getConditions()

Get Conditions.

setConditions(string[] $pValue)

Set Conditions.

addCondition(string $pValue)

Add Condition.

getStyle()

Get Style.

setStyle(Style $pValue = null)

Set Style.

string
getHashCode()

Get hash code.

__clone()

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

Details

__construct()

Create a new Conditional.

string getConditionType()

Get Condition type.

Return Value

string

Conditional setConditionType(string $pValue)

Set Condition type.

Parameters

string $pValue Condition type, see self::CONDITION_*

Return Value

Conditional

string getOperatorType()

Get Operator type.

Return Value

string

Conditional setOperatorType(string $pValue)

Set Operator type.

Parameters

string $pValue Conditional operator type, see self::OPERATOR_*

Return Value

Conditional

string getText()

Get text.

Return Value

string

Conditional setText(string $value)

Set text.

Parameters

string $value

Return Value

Conditional

bool getStopIfTrue()

Get StopIfTrue.

Return Value

bool

Conditional setStopIfTrue(bool $value)

Set StopIfTrue.

Parameters

bool $value

Return Value

Conditional

string[] getConditions()

Get Conditions.

Return Value

string[]

Conditional setConditions(string[] $pValue)

Set Conditions.

Parameters

string[] $pValue Condition

Return Value

Conditional

Conditional addCondition(string $pValue)

Add Condition.

Parameters

string $pValue Condition

Return Value

Conditional

Style getStyle()

Get Style.

Return Value

Style

Conditional setStyle(Style $pValue = null)

Set Style.

Parameters

Style $pValue

Return Value

Conditional

string getHashCode()

Get hash code.

Return Value

string Hash code

__clone()

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