src/Model/Comment.php
public function AllReplies()
    {
        // No replies if disabled
        if (!$this->getRepliesEnabled()) {
            return new ArrayList();
        }

        // Get all non-spam comments
        $order = $this->getOption('order_replies_by')
            ?: $this->getOption('order_comments_by');
        $list = $this
            ->ChildComments()
            ->sort($order);

        $this->extend('updateAllReplies', $list);
        return $list;
    }
public function AllReplies()
    {
        // No replies if disabled
        if (!$this->getRepliesEnabled()) {
            return new ArrayList();
        }

        // Get all non-spam comments
        $order = $this->getOption('order_replies_by')
            ?: $this->getOption('order_comments_by');
        $list = $this
            ->ChildComments()
            ->sort($order);

        $this->extend('updateAllReplies', $list);
        return $list;
    }
public function AllReplies ( ) { // No replies if disabled if ( ! $ this -> getRepliesEnabled ( ) ) { return new ArrayList ( ) ; } // Get all non-spam comments $ order = $ this -> getOption ( 'order_replies_by' ) ? : $ this -> getOption ( 'order_comments_by' ) ; $ list = $ this -> ChildComments ( ) -> sort ( $ order ) ; $ this -> extend ( 'updateAllReplies' , $ list ) ; return $ list ; }
Returns the list of all replies

@return SS_List
Returns the list of all replies