Esempio n. 1
0
 function checkAction()
 {
     if (!parent::checkAction()) {
         return false;
     }
     $oMain = $this->getMain();
     $aDataEntry = $oMain->_oDb->getEntryById($this->getId());
     return $oMain->isAllowedRate($aDataEntry);
 }
Esempio n. 2
0
 function checkAction()
 {
     if (!parent::checkAction()) {
         return false;
     }
     $oMain = $this->getMain();
     $aEvent = $oMain->_oDb->getEntryByIdAndOwner($this->getId(), 0, true);
     return $oMain->isAllowedRate($aEvent);
 }