You are here

public function PHPExcel_RichText::getHashCode in Loft Data Grids 7.2

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

Get hash code

Return value

string Hash code

Overrides PHPExcel_IComparable::getHashCode

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/RichText.php, line 172

Class

PHPExcel_RichText
PHPExcel_RichText

Code

public function getHashCode() {
  $hashElements = '';
  foreach ($this->_richTextElements as $element) {
    $hashElements .= $element
      ->getHashCode();
  }
  return md5($hashElements . __CLASS__);
}