コード例 #1
0
ファイル: BxEventsCmts.php プロジェクト: noormcs/studoro
 function isEditAllowedAll()
 {
     $oMain = $this->getMain();
     $aEvent = $oMain->_oDb->getEntryByIdAndOwner($this->getId(), 0, true);
     if ($oMain->isAllowedCreatorCommentsDeleteAndEdit($aEvent)) {
         return true;
     }
     return parent::isEditAllowedAll();
 }
コード例 #2
0
ファイル: BxStoreCmts.php プロジェクト: Gotgot59/dolphin.pro
 function isEditAllowedAll()
 {
     $oMain = $this->getMain();
     $aDataEntry = $oMain->_oDb->getEntryById($this->getId());
     if ($oMain->isAllowedCreatorCommentsDeleteAndEdit($aDataEntry)) {
         return true;
     }
     return parent::isEditAllowedAll();
 }
コード例 #3
0
 function isEditAllowedAll()
 {
     $oMain = $this->getMain();
     $aBlogPost = $oMain->_oDb->getPostInfo($this->getId(), 0, true);
     if ($oMain->isAllowedCreatorCommentsDeleteAndEdit($aBlogPost)) {
         return true;
     }
     return parent::isEditAllowedAll();
 }