You are here

public function PHPExcel_Style_Conditional::getCondition 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::getCondition()

Get Condition

Return value

string

Deprecated

Deprecated, use getConditions instead

File

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

Class

PHPExcel_Style_Conditional
PHPExcel_Style_Conditional

Code

public function getCondition() {
  if (isset($this->_condition[0])) {
    return $this->_condition[0];
  }
  return '';
}