/**
  * @param string $key
  * @return mixed
  */
 protected function _getProfile($key)
 {
     if ($this->profile === null) {
         XCube_DelegateUtils::call('Legacy_Profile.GetProfile', new XCube_Ref($this->profile), $this->get('uid'));
     }
     if ($this->profile instanceof XoopsSimpleObject) {
         return $this->profile->get($key);
     }
     return null;
 }
 /**
  * delete workflow
  *
  * @param XoopsSimpleObject	$obj
  *
  * @return	void
  */
 protected function _deleteWorkflow($obj)
 {
     XCube_DelegateUtils::call('Legacy_Workflow.DeleteItem', $obj->getDirname(), $this->getDataname(), $obj->get($this->mPrimary));
 }
 /**
  * _makeDateString
  *
  * @param	string	$key
  * @param	XoopsSimpleObject	$obj
  *
  * @return	string
  **/
 protected function _makeDateString($key, $obj)
 {
     return $obj->get($key) ? date(_PHPDATEPICKSTRING, $obj->get($key)) : '';
 }