diff --git a/bl-kernel/helpers/paginator.class.php b/bl-kernel/helpers/paginator.class.php index 3591afc5..f24c28fe 100644 --- a/bl-kernel/helpers/paginator.class.php +++ b/bl-kernel/helpers/paginator.class.php @@ -140,5 +140,59 @@ class Paginator { return $html; } + + /* + * Bootstrap Pagination + */ + public static function bootstrap_html($textPrevPage=false, $textNextPage=false, $showPageNumber=false){ + + global $Language; + + $total_pages = self::amountOfPages(); + $howMany = 2; + $currentPage = self::currentPage(); + $first_page = self::firstPage(); + $last_page = self::lastPageUrl(); + $show_next = (self::showNext()) ? "" : "disabled"; + $show_previois = (self::showPrev()) ? "" : "disabled"; + + $html = ''; + + return $html; + + } }