function isPostReplyAllowed() { if (!parent::isPostReplyAllowed()) { return false; } $oMain = $this->getMain(); $aDataEntry = $oMain->_oDb->getEntryById($this->getId()); return $oMain->isAllowedComments($aDataEntry); }
function isPostReplyAllowed() { if (!parent::isPostReplyAllowed()) { return false; } $oMain = $this->getMain(); $aBlogPost = $oMain->_oDb->getPostInfo($this->getId(), 0, true); return $oMain->isAllowedComments($aBlogPost); }
function isPostReplyAllowed() { if (!parent::isPostReplyAllowed()) { return false; } $oMain = $this->getMain(); $aEvent = $oMain->_oDb->getEntryByIdAndOwner($this->getId(), 0, true); return $oMain->isAllowedComments($aEvent); }
function isPostReplyAllowed() { if (!parent::isPostReplyAllowed()) { return false; } $oMain = BxDolModule::getInstance('BxAdsModule'); $aAdPost = $oMain->_oDb->getAdInfo($this->getId()); return $oMain->isAllowedComments($aAdPost); }