PHPExcel_Style

# Class: PHPExcel_Style_Conditional Source Location: /PHPExcel/Style/Conditional.php
### Class Overview
PHPExcel_Style_Conditional #### Author(s): #### Copyright: Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel) Implements interfaces: PHPExcel_IComparable | ### Variables $_condition $_conditionType $_operatorType $_style $_text | ### Constants CONDITION_CELLIS CONDITION_CONTAINSTEXT CONDITION_EXPRESSION CONDITION_NONE OPERATOR_BEGINSWITH OPERATOR_BETWEEN OPERATOR_CONTAINSTEXT OPERATOR_ENDSWITH OPERATOR_EQUAL OPERATOR_GREATERTHAN OPERATOR_GREATERTHANOREQUAL OPERATOR_LESSTHAN OPERATOR_LESSTHANOREQUAL OPERATOR_NONE OPERATOR_NOTCONTAINS OPERATOR_NOTEQUAL | ### Methods addCondition __construct getCondition getConditions getConditionType getHashCode getOperatorType getStyle getText setCondition setConditions setConditionType setOperatorType setStyle setText __clone
### Class Details [line 51] PHPExcel_Style_Conditional PHPExcel_Style_Conditional #### Tags:
copyright: | Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
[ Top ] ### Class Variables #### $_condition = array() [line 99] Condition Condition #### Tags:
access: | private
Type: | string[]
[ Top ] #### $_conditionType = [line 78] Condition type Condition type #### Tags:
access: | private
Type: | int
[ Top ] #### $_operatorType = [line 85] Operator type Operator type #### Tags:
access: | private
Type: | int
[ Top ] #### $_style = [line 106] Style Style #### Tags:
access: | private
Type: | PHPExcel_Style
[ Top ] #### $_text = [line 92] Text Text #### Tags:
access: | private
Type: | string
[ Top ] ### Class Methods ### method addCondition [line 238]
`PHPExcel_Style_Conditional addCondition( [string $pValue = ''])`
Add Condition Add Condition #### Tags:
access: | public
#### Parameters:
string | $pValue | Condition
[ Top ] ### constructor __construct [line 111]
`PHPExcel_Style_Conditional __construct( )`
Create a new PHPExcel_Style_Conditional Create a new PHPExcel_Style_Conditional #### Tags:
access: | public
[ Top ] ### method getCondition [line 187]
`string getCondition( )`
Get Condition Get Condition #### Tags:
deprecated: | Deprecated, use getConditions instead
access: | public
[ Top ] ### method getConditions [line 214]
`string[] getConditions( )`
Get Conditions Get Conditions #### Tags:
access: | public
[ Top ] ### method getConditionType [line 126]
`string getConditionType( )`
Get Condition type Get Condition type #### Tags:
access: | public
[ Top ] ### method getHashCode [line 269]
`string getHashCode( )`
Get hash code Get hash code #### Tags:
return: | Hash code
access: | public
[ Top ] ### method getOperatorType [line 146]
`string getOperatorType( )`
Get Operator type Get Operator type #### Tags:
access: | public
[ Top ] ### method getStyle [line 248]
`PHPExcel_Style getStyle( )`
Get Style Get Style #### Tags:
access: | public
[ Top ] ### method getText [line 166]
`string getText( )`
Get text Get text #### Tags:
access: | public
[ Top ] ### method setCondition [line 202]
`PHPExcel_Style_Conditional setCondition( [string $pValue = ''])`
Set Condition Set Condition #### Tags:
deprecated: | Deprecated, use setConditions instead
access: | public
#### Parameters:
string | $pValue | Condition
[ Top ] ### method setConditions [line 224]
`PHPExcel_Style_Conditional setConditions( string[] $pValue)`
Set Conditions Set Conditions #### Tags:
access: | public
#### Parameters:
string[] | $pValue | Condition
[ Top ] ### method setConditionType [line 136]
`PHPExcel_Style_Conditional setConditionType( [string $pValue = PHPExcel_Style_Conditional::CONDITION_NONE])`
Set Condition type Set Condition type #### Tags:
access: | public
#### Parameters:
string | $pValue | PHPExcel_Style_Conditional condition type
[ Top ] ### method setOperatorType [line 156]
`PHPExcel_Style_Conditional setOperatorType( [string $pValue = PHPExcel_Style_Conditional::OPERATOR_NONE])`
Set Operator type Set Operator type #### Tags:
access: | public
#### Parameters:
string | $pValue | PHPExcel_Style_Conditional operator type
[ Top ] ### method setStyle [line 259]
`PHPExcel_Style_Conditional setStyle( [PHPExcel_Style $pValue = null])`
Set Style Set Style #### Tags:
throws: | Exception
access: | public
#### Parameters:
PHPExcel_Style | $pValue |
[ Top ] ### method setText [line 176]
`PHPExcel_Style_Conditional setText( [string $value = null])`
Set text Set text #### Tags:
access: | public
#### Parameters:
string | $value |
[ Top ] ### method __clone [line 282]
`void __clone( )`
Implement PHP __clone to create a deep clone, not just a shallow copy. Implement PHP __clone to create a deep clone, not just a shallow copy. #### Tags:
access: | public
[ Top ] ### Class Constants #### CONDITION_CELLIS = 'cellIs' [line 55] [ Top ] #### CONDITION_CONTAINSTEXT = 'containsText' [line 56] [ Top ] #### CONDITION_EXPRESSION = 'expression' [line 57] [ Top ] #### CONDITION_NONE = 'none' [line 54] [ Top ] #### OPERATOR_BEGINSWITH = 'beginsWith' [line 61] [ Top ] #### OPERATOR_BETWEEN = 'between' [line 71] [ Top ] #### OPERATOR_CONTAINSTEXT = 'containsText' [line 69] [ Top ] #### OPERATOR_ENDSWITH = 'endsWith' [line 62] [ Top ] #### OPERATOR_EQUAL = 'equal' [line 63] [ Top ] #### OPERATOR_GREATERTHAN = 'greaterThan' [line 64] [ Top ] #### OPERATOR_GREATERTHANOREQUAL = 'greaterThanOrEqual' [line 65] [ Top ] #### OPERATOR_LESSTHAN = 'lessThan' [line 66] [ Top ] #### OPERATOR_LESSTHANOREQUAL = 'lessThanOrEqual' [line 67] [ Top ] #### OPERATOR_NONE = '' [line 60] [ Top ] #### OPERATOR_NOTCONTAINS = 'notContains' [line 70] [ Top ] #### OPERATOR_NOTEQUAL = 'notEqual' [line 68] [ Top ] Documentation generated on Mon, 11 Jan 2010 08:07:25 +0100 by phpDocumentor 1.4.1