PHPExcel_Style
[ class tree: PHPExcel_Style ] [ index: PHPExcel_Style ] [ all elements ]

Class: PHPExcel_Style_Conditional

Source Location: /PHPExcel/Style/Conditional.php

Class Overview


PHPExcel_Style_Conditional


Author(s):

Copyright:

  • Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)

Implements interfaces:

Variables

Constants

Methods



Class Details

[line 43]
PHPExcel_Style_Conditional

PHPExcel_Style_Conditional




Tags:

copyright:  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)


[ Top ]


Class Variables

$_condition = array()

[line 91]

Condition

Condition




Tags:

access:  private

Type:   string[]


[ Top ]

$_conditionType =

[line 70]

Condition type

Condition type




Tags:

access:  private

Type:   int


[ Top ]

$_hashIndex =

[line 263]

Hash index

Hash index




Tags:

access:  private

Type:   string


[ Top ]

$_operatorType =

[line 77]

Operator type

Operator type




Tags:

access:  private

Type:   int


[ Top ]

$_style =

[line 98]

Style

Style




Tags:

access:  private

Type:   PHPExcel_Style


[ Top ]

$_text =

[line 84]

Text

Text




Tags:

access:  private

Type:   string


[ Top ]



Class Methods


constructor __construct [line 103]

PHPExcel_Style_Conditional __construct( )

Create a new PHPExcel_Style_Conditional

Create a new PHPExcel_Style_Conditional




Tags:

access:  public


[ Top ]

method addCondition [line 220]

void addCondition( [string $pValue = ''])

Add Condition

Add Condition




Tags:

access:  public


Parameters:

string   $pValue   Condition

[ Top ]

method getCondition [line 173]

string getCondition( )

Get Condition

Get Condition




Tags:

deprecated:  Deprecated, use getConditions instead
access:  public


[ Top ]

method getConditions [line 199]

string[] getConditions( )

Get Conditions

Get Conditions




Tags:

access:  public


[ Top ]

method getConditionType [line 118]

string getConditionType( )

Get Condition type

Get Condition type




Tags:

access:  public


[ Top ]

method getHashCode [line 248]

string getHashCode( )

Get hash code

Get hash code




Tags:

return:  Hash code
access:  public


[ Top ]

method getHashIndex [line 273]

string getHashIndex( )

Get hash index Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.

Get hash index Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.




Tags:

return:  Hash index
access:  public


[ Top ]

method getOperatorType [line 136]

string getOperatorType( )

Get Operator type

Get Operator type




Tags:

access:  public


[ Top ]

method getStyle [line 229]

PHPExcel_Style getStyle( )

Get Style

Get Style




Tags:

access:  public


[ Top ]

method getText [line 154]

string getText( )

Get text

Get text




Tags:

access:  public


[ Top ]

method setCondition [line 187]

void setCondition( [string $pValue = ''])

Set Condition

Set Condition




Tags:

deprecated:  Deprecated, use setConditions instead
access:  public


Parameters:

string   $pValue   Condition

[ Top ]

method setConditions [line 208]

void setConditions( string[] $pValue)

Set Conditions

Set Conditions




Tags:

access:  public


Parameters:

string[]   $pValue   Condition

[ Top ]

method setConditionType [line 127]

void 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 setHashIndex [line 285]

void setHashIndex( string $value)

Set hash index Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.

Set hash index Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.




Tags:

access:  public


Parameters:

string   $value   Hash index

[ Top ]

method setOperatorType [line 145]

void 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 239]

void setStyle( [PHPExcel_Style $pValue = null])

Set Style

Set Style




Tags:

throws:  Exception
access:  public


Parameters:

PHPExcel_Style   $pValue  

[ Top ]

method setText [line 163]

void setText( [string $value = null])

Set text

Set text




Tags:

access:  public


Parameters:

string   $value  

[ Top ]

method __clone [line 292]

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 47]


[ Top ]

CONDITION_CONTAINSTEXT =  'containsText'

[line 48]


[ Top ]

CONDITION_EXPRESSION =  'expression'

[line 49]


[ Top ]

CONDITION_NONE =  'none'

[line 46]


[ Top ]

OPERATOR_BEGINSWITH =  'beginsWith'

[line 53]


[ Top ]

OPERATOR_BETWEEN =  'between'

[line 63]


[ Top ]

OPERATOR_CONTAINSTEXT =  'containsText'

[line 61]


[ Top ]

OPERATOR_ENDSWITH =  'endsWith'

[line 54]


[ Top ]

OPERATOR_EQUAL =  'equal'

[line 55]


[ Top ]

OPERATOR_GREATERTHAN =  'greaterThan'

[line 56]


[ Top ]

OPERATOR_GREATERTHANOREQUAL =  'greaterThanOrEqual'

[line 57]


[ Top ]

OPERATOR_LESSTHAN =  'lessThan'

[line 58]


[ Top ]

OPERATOR_LESSTHANOREQUAL =  'lessThanOrEqual'

[line 59]


[ Top ]

OPERATOR_NONE =  ''

[line 52]


[ Top ]

OPERATOR_NOTCONTAINS =  'notContains'

[line 62]


[ Top ]

OPERATOR_NOTEQUAL =  'notEqual'

[line 60]


[ Top ]



Documentation generated on Mon, 05 Jan 2009 20:36:43 +0100 by phpDocumentor 1.4.1