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