19 parent::__construct($sSystem,
$iId);
26 $aEntry = $this->_oModule->_oDb->getAdInfo($this->
getId());
27 if(
empty($aEntry) || !is_array($aEntry))
30 return $this->_oModule->genUrl($aEntry[
'ID'], $aEntry[
'EntryUri'],
'entry');
35 if (!parent::isPostReplyAllowed($isPerformAction))
39 $aAdPost = $oMain->_oDb->getAdInfo($this->
getId());
40 return $oMain->isAllowedComments($aAdPost);