You are here

public function PHPExcel::getCellXfByHashCode in Loft Data Grids 7.2

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

Get cellXf by hash code

Parameters

string $pValue:

Return value

PHPExcel_Style|false

File

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

Class

PHPExcel
PHPExcel

Code

public function getCellXfByHashCode($pValue = '') {
  foreach ($this->_cellXfCollection as $cellXf) {
    if ($cellXf
      ->getHashCode() == $pValue) {
      return $cellXf;
    }
  }
  return false;
}