Overview

Packages

  • JAMA
  • None
  • PHP
  • PHPExcel
    • CachedObjectStorage
    • Calculation
    • Cell
    • Chart
      • Renderer
    • Reader
      • Excel2007
      • Excel5
    • RichText
    • Settings
    • Shared
      • Escher
      • OLE
      • Trend
      • ZipArchive
    • Style
    • Worksheet
      • Drawing
    • Writer
      • 2007
      • CSV
      • Excel2007
      • Excel5
      • HTML
      • PDF

Classes

  • PHPExcel_Style
  • PHPExcel_Style_Alignment
  • PHPExcel_Style_Border
  • PHPExcel_Style_Borders
  • PHPExcel_Style_Color
  • PHPExcel_Style_Conditional
  • PHPExcel_Style_Fill
  • PHPExcel_Style_Font
  • PHPExcel_Style_NumberFormat
  • PHPExcel_Style_Protection
  • PHPExcel_Style_Supervisor
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class PHPExcel_Style_Conditional

PHPExcel_Style_Conditional

PHPExcel_Style_Conditional implements PHPExcel_IComparable
Package: PHPExcel\Style
Category: PHPExcel
Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: LGPL
Located at controlador/include/phpexcel/PHPExcel/Style/Conditional.php
Methods summary
public
# __construct( )

Create a new PHPExcel_Style_Conditional

Create a new PHPExcel_Style_Conditional

public string
# getConditionType( )

Get Condition type

Get Condition type

Returns

string
public PHPExcel_Style_Conditional
# setConditionType( string $pValue = PHPExcel_Style_Conditional::CONDITION_NONE )

Set Condition type

Set Condition type

Parameters

$pValue
PHPExcel_Style_Conditional condition type

Returns

PHPExcel_Style_Conditional
public string
# getOperatorType( )

Get Operator type

Get Operator type

Returns

string
public PHPExcel_Style_Conditional
# setOperatorType( string $pValue = PHPExcel_Style_Conditional::OPERATOR_NONE )

Set Operator type

Set Operator type

Parameters

$pValue
PHPExcel_Style_Conditional operator type

Returns

PHPExcel_Style_Conditional
public string
# getText( )

Get text

Get text

Returns

string
public PHPExcel_Style_Conditional
# setText( string $value = null )

Set text

Set text

Parameters

$value

Returns

PHPExcel_Style_Conditional
public string
# getCondition( )

Get Condition

Get Condition

Deprecated

Deprecated, use getConditions instead

Returns

string
public PHPExcel_Style_Conditional
# setCondition( string $pValue = '' )

Set Condition

Set Condition

Deprecated

Deprecated, use setConditions instead

Parameters

$pValue
Condition

Returns

PHPExcel_Style_Conditional
public string[]
# getConditions( )

Get Conditions

Get Conditions

Returns

string[]
public PHPExcel_Style_Conditional
# setConditions( string[] $pValue )

Set Conditions

Set Conditions

Parameters

$pValue
Condition

Returns

PHPExcel_Style_Conditional
public PHPExcel_Style_Conditional
# addCondition( string $pValue = '' )

Add Condition

Add Condition

Parameters

$pValue
Condition

Returns

PHPExcel_Style_Conditional
public PHPExcel_Style
# getStyle( )

Get Style

Get Style

Returns

PHPExcel_Style
public PHPExcel_Style_Conditional
# setStyle( PHPExcel_Style $pValue = null )

Set Style

Set Style

Parameters

$pValue

Returns

PHPExcel_Style_Conditional

Throws

PHPExcel_Exception
public string
# getHashCode( )

Get hash code

Get hash code

Returns

string
Hash code

Implementation of

PHPExcel_IComparable::getHashCode()
public
# __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.

Constants summary
string CONDITION_NONE
# 'none'
string CONDITION_CELLIS
# 'cellIs'
string CONDITION_CONTAINSTEXT
# 'containsText'
string CONDITION_EXPRESSION
# 'expression'
string OPERATOR_NONE
# ''
string OPERATOR_BEGINSWITH
# 'beginsWith'
string OPERATOR_ENDSWITH
# 'endsWith'
string OPERATOR_EQUAL
# 'equal'
string OPERATOR_GREATERTHAN
# 'greaterThan'
string OPERATOR_GREATERTHANOREQUAL
# 'greaterThanOrEqual'
string OPERATOR_LESSTHAN
# 'lessThan'
string OPERATOR_LESSTHANOREQUAL
# 'lessThanOrEqual'
string OPERATOR_NOTEQUAL
# 'notEqual'
string OPERATOR_CONTAINSTEXT
# 'containsText'
string OPERATOR_NOTCONTAINS
# 'notContains'
string OPERATOR_BETWEEN
# 'between'
Properties summary
private integer $_conditionType

Condition type

Condition type

#
private integer $_operatorType

Operator type

Operator type

#
private string $_text

Text

Text

#
private string[] $_condition

Condition

Condition

# array()
private PHPExcel_Style $_style

Style

Style

#
Autene API documentation generated by ApiGen