public function PHPExcel_Style_Borders::getHashCode in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Borders.php \PHPExcel_Style_Borders::getHashCode()
* Get hash code * *
Return value
string Hash code
Overrides PHPExcel_IComparable::getHashCode
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Style/ Borders.php, line 409
Class
- PHPExcel_Style_Borders
- PHPExcel_Style_Borders
Code
public function getHashCode() {
if ($this->_isSupervisor) {
return $this
->getSharedComponent()
->getHashcode();
}
return md5($this
->getLeft()
->getHashCode() . $this
->getRight()
->getHashCode() . $this
->getTop()
->getHashCode() . $this
->getBottom()
->getHashCode() . $this
->getDiagonal()
->getHashCode() . $this
->getDiagonalDirection() . __CLASS__);
}