You are here

public function PHPExcel_Style_Conditional::setCondition in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Conditional.php \PHPExcel_Style_Conditional::setCondition()

Set Condition

Parameters

string $pValue Condition:

Return value

PHPExcel_Style_Conditional

Deprecated

Deprecated, use setConditions instead

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Conditional.php, line 187

Class

PHPExcel_Style_Conditional
PHPExcel_Style_Conditional

Code

public function setCondition($pValue = '') {
  if (!is_array($pValue)) {
    $pValue = array(
      $pValue,
    );
  }
  return $this
    ->setConditions($pValue);
}