/** * Must be called before saving the object */ public function setCustomDataObj() { if ($this->m_custom_data != null) { $this->setCustomData($this->m_custom_data->toString()); } }
/** * 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()); } }