src/Model/Comment.php
public function getRepliesEnabled()
    {
        // Check reply option
        if (!$this->getOption('nested_comments')) {
            return false;
        }

        // Check if depth is limited
        $maxLevel = $this->getOption('nested_depth');
        $notSpam = ($this->SpamClass() == 'notspam');
        return $notSpam && (!$maxLevel || $this->Depth < $maxLevel);
    }
public function getRepliesEnabled()
    {
        // Check reply option
        if (!$this->getOption('nested_comments')) {
            return false;
        }

        // Check if depth is limited
        $maxLevel = $this->getOption('nested_depth');
        $notSpam = ($this->SpamClass() == 'notspam');
        return $notSpam && (!$maxLevel || $this->Depth < $maxLevel);
    }
public function getRepliesEnabled ( ) { // Check reply option if ( ! $ this -> getOption ( 'nested_comments' ) ) { return false ; } // Check if depth is limited $ maxLevel = $ this -> getOption ( 'nested_depth' ) ; $ notSpam = ( $ this -> SpamClass ( ) == 'notspam' ) ; return $ notSpam && ( ! $ maxLevel || $ this -> Depth < $ maxLevel ) ; }
Determine if replies are enabled for this instance

@return boolean
Determine if replies are enabled for this instance