You are here

public function PHPExcel_Cell_DataValidation::getHashCode in Loft Data Grids 7.2

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

Get hash code

Return value

string Hash code

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Cell/DataValidation.php, line 440

Class

PHPExcel_Cell_DataValidation
PHPExcel_Cell_DataValidation

Code

public function getHashCode() {
  return md5($this->_formula1 . $this->_formula2 . ($this->_type = PHPExcel_Cell_DataValidation::TYPE_NONE . ($this->_errorStyle = PHPExcel_Cell_DataValidation::STYLE_STOP . $this->_operator . ($this->_allowBlank ? 't' : 'f') . ($this->_showDropDown ? 't' : 'f') . ($this->_showInputMessage ? 't' : 'f') . ($this->_showErrorMessage ? 't' : 'f') . $this->_errorTitle . $this->_error . $this->_promptTitle . $this->_prompt . __CLASS__)));
}