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