src/Model/Comment.php
public function PagedReplies()
    {
        $list = $this->Replies();

        // Add pagination
        $list = new PaginatedList($list, Controller::curr()->getRequest());
        $list->setPaginationGetVar('repliesstart' . $this->ID);
        $list->setPageLength($this->getOption('comments_per_page'));

        $this->extend('updatePagedReplies', $list);
        return $list;
    }
public function PagedReplies()
    {
        $list = $this->Replies();

        // Add pagination
        $list = new PaginatedList($list, Controller::curr()->getRequest());
        $list->setPaginationGetVar('repliesstart' . $this->ID);
        $list->setPageLength($this->getOption('comments_per_page'));

        $this->extend('updatePagedReplies', $list);
        return $list;
    }
public function PagedReplies ( ) { $ list = $ this -> Replies ( ) ; // Add pagination $ list = new PaginatedList ( $ list , Controller :: curr ( ) -> getRequest ( ) ) ; $ list -> setPaginationGetVar ( 'repliesstart' . $ this -> ID ) ; $ list -> setPageLength ( $ this -> getOption ( 'comments_per_page' ) ) ; $ this -> extend ( 'updatePagedReplies' , $ list ) ; return $ list ; }
Returns the list of replies paged, with spam and unmoderated items excluded, for use in the frontend

@return PaginatedList
Returns the list of replies paged with spam and unmoderated items excluded for use in the frontend