You are here

public function PHPExcel_Style_Protection::getHashCode in Loft Data Grids 7.2

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

* Get hash code * *

Return value

string Hash code

Overrides PHPExcel_IComparable::getHashCode

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Protection.php, line 196

Class

PHPExcel_Style_Protection
PHPExcel_Style_Protection

Code

public function getHashCode() {
  if ($this->_isSupervisor) {
    return $this
      ->getSharedComponent()
      ->getHashCode();
  }
  return md5($this->_locked . $this->_hidden . __CLASS__);
}