102        $this->_condition                       = array();
 
  122        $this->_conditionType = $pValue;
 
  142        $this->_operatorType = $pValue;
 
  162           $this->_text = $value;
 
  173        if (isset($this->_condition[0])) {
 
  174                return $this->_condition[0];
 
  188        if (!is_array($pValue))
 
  189                $pValue = array($pValue);
 
  210        if (!is_array($pValue))
 
  211                $pValue = array($pValue);
 
  213        $this->_condition = $pValue;
 
  224        $this->_condition[] = $pValue;
 
  245                $this->_style = $pValue;
 
  256                  $this->_conditionType
 
  257                . $this->_operatorType
 
  258                . implode(
';', $this->_condition)
 
  259                . $this->_style->getHashCode()
 
  268                $vars = get_object_vars($this);
 
  269                foreach ($vars as 
$key => $value) {
 
  270                        if (is_object($value)) {
 
  271                                $this->
$key = clone $value;
 
  273                                $this->
$key = $value;
 
An exception for terminatinating execution or to throw for unit testing.
const CONDITION_EXPRESSION
setOperatorType($pValue=PHPExcel_Style_Conditional::OPERATOR_NONE)
Set Operator type.
const OPERATOR_NOTCONTAINS
getConditionType()
Get Condition type.
const OPERATOR_CONTAINSTEXT
const OPERATOR_BEGINSWITH
addCondition($pValue='')
Add Condition.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
getOperatorType()
Get Operator type.
__construct()
Create a new PHPExcel_Style_Conditional.
setConditions($pValue)
Set Conditions.
const CONDITION_CONTAINSTEXT
const OPERATOR_GREATERTHAN
getCondition()
Get Condition.
setConditionType($pValue=PHPExcel_Style_Conditional::CONDITION_NONE)
Set Condition type.
const OPERATOR_LESSTHANOREQUAL
const OPERATOR_GREATERTHANOREQUAL
setText($value=null)
Set text.
getHashCode()
Get hash code.
setCondition($pValue='')
Set Condition.
setStyle(PHPExcel_Style $pValue=null)
Set Style.
getConditions()
Get Conditions.