You are here

public function PHPExcel::getCellStyleXfByHashCode in Loft Data Grids 7.2

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

Get cellStyleXf by hash code

Parameters

string $pValue:

Return value

PHPExcel_Style|false

File

vendor/phpoffice/phpexcel/Classes/PHPExcel.php, line 1012

Class

PHPExcel
PHPExcel

Code

public function getCellStyleXfByHashCode($pValue = '') {
  foreach ($this->_cellStyleXfCollection as $cellStyleXf) {
    if ($cellStyleXf
      ->getHashCode() == $pValue) {
      return $cellStyleXf;
    }
  }
  return false;
}