You are here

public function PHPExcel_Worksheet::getConditionalStyles in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php \PHPExcel_Worksheet::getConditionalStyles()

Get conditional styles for a cell

Parameters

string $pCoordinate:

Return value

PHPExcel_Style_Conditional[]

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php, line 1430

Class

PHPExcel_Worksheet
PHPExcel_Worksheet

Code

public function getConditionalStyles($pCoordinate = 'A1') {
  $pCoordinate = strtoupper($pCoordinate);
  if (!isset($this->_conditionalStylesCollection[$pCoordinate])) {
    $this->_conditionalStylesCollection[$pCoordinate] = array();
  }
  return $this->_conditionalStylesCollection[$pCoordinate];
}