Exemple #1
0
 /**
  * Get hash code
  *
  * @return string Hash code
  */
 public function getHashCode()
 {
     return md5($this->getBorder()->getLineStyle() . parent::getHashCode() . __CLASS__);
 }
Exemple #2
0
 /**
  * Get hash code
  *
  * @return string Hash code
  */
 public function getHashCode()
 {
     $hashElements = '';
     foreach ($this->_richTextParagraphs as $element) {
         $hashElements .= $element->getHashCode();
     }
     return md5($hashElements . $this->_wrap . $this->_autoFit . $this->_horizontalOverflow . $this->_verticalOverflow . ($this->_upright ? '1' : '0') . ($this->_vertical ? '1' : '0') . $this->_columns . $this->_bottomInset . $this->_leftInset . $this->_rightInset . $this->_topInset . parent::getHashCode() . __CLASS__);
 }
 /**
  * Get hash code
  *
  * @return string	Hash code
  */
 public function getHashCode()
 {
     return md5($this->_name . $this->_description . parent::getHashCode() . __CLASS__);
 }