Exemplo n.º 1
0
 function isEditAllowedAll()
 {
     $oMain = $this->getMain();
     $aEvent = $oMain->_oDb->getEntryByIdAndOwner($this->getId(), 0, true);
     if ($oMain->isAllowedCreatorCommentsDeleteAndEdit($aEvent)) {
         return true;
     }
     return parent::isEditAllowedAll();
 }
Exemplo n.º 2
0
 function isEditAllowedAll()
 {
     $oMain = $this->getMain();
     $aDataEntry = $oMain->_oDb->getEntryById($this->getId());
     if ($oMain->isAllowedCreatorCommentsDeleteAndEdit($aDataEntry)) {
         return true;
     }
     return parent::isEditAllowedAll();
 }
Exemplo n.º 3
0
 function isEditAllowedAll()
 {
     $oMain = $this->getMain();
     $aBlogPost = $oMain->_oDb->getPostInfo($this->getId(), 0, true);
     if ($oMain->isAllowedCreatorCommentsDeleteAndEdit($aBlogPost)) {
         return true;
     }
     return parent::isEditAllowedAll();
 }