/** */ public function toActivityObject() { $obj = new ActivityObject(); $obj->setType(ActivityObject::TYPE_VIDEO); $obj->setClassName(VideoTableMap::OM_CLASS); $obj->setDisplayName($this->getTitle()); $obj->setReferenceId($this->getId()); return $obj; }
/** */ public function toActivityObject() { $obj = new ActivityObject(); $obj->setType(ActivityObject::TYPE_SKILL); $obj->setClassName(SkillTableMap::OM_CLASS); $obj->setDisplayName($this->getName()); $obj->setReferenceId($this->getId()); $obj->setVersion($this->getVersion()); return $obj; }