Example #1
0
 /**
  * Get hash code
  *
  * @return string Hash code
  */
 public function getHashCode()
 {
     $hashElements = '';
     foreach ($this->_richTextElements as $element) {
         $hashElements .= $element->getHashCode();
     }
     return md5($hashElements . $this->_font->getHashCode() . __CLASS__);
 }
Example #2
0
 /**
  * Get hash code
  *
  * @return string	Hash code
  */
 public function getHashCode()
 {
     return md5($this->getText() . $this->_font->getHashCode() . __CLASS__);
 }
Example #3
0
 /**
  * Get hash code
  *
  * @return string	Hash code
  */
 public function getHashCode()
 {
     return md5($this->_position . $this->_offsetX . $this->_offsetY . $this->_width . $this->_height . $this->_font->getHashCode() . $this->_border->getHashCode() . $this->_fill->getHashCode() . $this->_alignment->getHashCode() . ($this->_visible ? 't' : 'f') . __CLASS__);
 }
Example #4
0
 /**
  * Get hash code
  *
  * @return string Hash code
  */
 public function getHashCode()
 {
     return md5((is_null($this->_fill) ? 'null' : $this->_fill->getHashCode()) . (is_null($this->_font) ? 'null' : $this->_font->getHashCode()) . var_export($this->_values, true) . var_export($this, true) . __CLASS__);
 }