src/Frontend/Modules/Commerce/Engine/Pagination.php
/**
     * Use the left ellipses.
     *
     * @return bool
     */
Use the left ellipses.
@return bool
Use the left ellipses . @return bool
private function useRightEllipses()
    {
        $show = false;
        if ($this->hasRightPages()) {
            $minimal_page = ($this->getPageCount() + 1) - ($this->page_numbers_to_display * 2);
            $start_display_number = $this->current_page - floor($this->page_numbers_to_display / 2);
            $show = $start_display_number < $minimal_page;
        }
        return $show;
    }
private function useRightEllipses ( ) { $ show = false ; if ( $ this -> hasRightPages ( ) ) { $ minimal_page = ( $ this -> getPageCount ( ) + 1 ) - ( $ this -> page_numbers_to_display * 2 ) ; $ start_display_number = $ this -> current_page - floor ( $ this -> page_numbers_to_display / 2 ) ; $ show = $ start_display_number < $ minimal_page ; } return $ show ; }
Use the left ellipses.
Use the left ellipses .
// Minimal page to show ellipses for