Esempio n. 1
0
 /**
  * Must be called before saving the object
  */
 public function setCustomDataObj()
 {
     if ($this->m_custom_data != null) {
         $this->setCustomData($this->m_custom_data->toString());
     }
 }
Esempio n. 2
0
 /**
  * Must be called before saving the object
  */
 public function setCustomDataObj()
 {
     if ($this->m_custom_data != null) {
         $this->custom_data_md5 = is_null($this->custom_data) ? null : md5($this->custom_data);
         $this->setCustomData($this->m_custom_data->toString());
     }
 }