You are here

public function PHPExcel_Style::setConditionalStyles in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Style.php \PHPExcel_Style::setConditionalStyles()

Set Conditional Styles. Only used on supervisor.

Parameters

PHPExcel_Style_Conditional[] $pValue Array of condtional styles:

Return value

PHPExcel_Style

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style.php, line 573

Class

PHPExcel_Style
PHPExcel_Style

Code

public function setConditionalStyles($pValue = null) {
  if (is_array($pValue)) {
    $this
      ->getActiveSheet()
      ->setConditionalStyles($this
      ->getSelectedCells(), $pValue);
  }
  return $this;
}