17 parent::__construct($sSystem,
$iId);
23 require_once (
$aPathInfo[
'dirname'] .
'/ChEventsSearchResult.php');
30 $aEntry = $oMain->_oDb->getEntryById($this->
getId());
31 if(
empty($aEntry) || !is_array($aEntry))
34 return CH_WSB_URL_ROOT . $oMain->_oConfig->getBaseUri() .
'view/' . $aEntry[
'EntryUri'];
39 if (!parent::isPostReplyAllowed($isPerformAction))
43 $aEvent = $oMain->_oDb->getEntryByIdAndOwner($this->
getId (), 0,
true);
44 return $oMain->isAllowedComments($aEvent);
50 $aEvent = $oMain->_oDb->getEntryByIdAndOwner($this->
getId (), 0,
true);
51 if ($oMain->isAllowedCreatorCommentsDeleteAndEdit ($aEvent))
53 return parent::isEditAllowedAll ();
59 $aEvent = $oMain->_oDb->getEntryByIdAndOwner($this->
getId (), 0,
true);
60 if ($oMain->isAllowedCreatorCommentsDeleteAndEdit ($aEvent))
62 return parent::isRemoveAllowedAll ();