You are here

public function PHPExcel_Comment::getHashCode in Loft Data Grids 7.2

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

Get hash code

Return value

string Hash code

Overrides PHPExcel_IComparable::getHashCode

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Comment.php, line 289

Class

PHPExcel_Comment
PHPExcel_Comment

Code

public function getHashCode() {
  return md5($this->_author . $this->_text
    ->getHashCode() . $this->_width . $this->_height . $this->_marginLeft . $this->_marginTop . ($this->_visible ? 1 : 0) . $this->_fillColor
    ->getHashCode() . $this->_alignment . __CLASS__);
}