_oModule = BxDolModule::getInstance($this->_sModule); } public function getObjectAuthorId($iObjectId = 0) { if(!BxDolService::call($this->_sModule, 'act_as_profile')) return parent::getObjectAuthorId ($iObjectId); $oProfile = BxDolProfile::getInstanceByContentAndType($iObjectId ? $iObjectId : $this->getId(), $this->_sModule); if(!$oProfile) return 0; return $oProfile->id(); } } /** @} */