Свойство | Type | Description | |
---|---|---|---|
$paginator | Illuminate\Contracts\Pagination\Paginator | The paginator implementation. | |
$window | array | The URL window data structure. |
Méthode | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Pagination\Paginator $paginator, Illuminate\Pagination\UrlWindow $window = null ) : void | Create a new Bootstrap presenter instance. | |
hasPages ( ) : boolean | Determine if the underlying paginator being presented has pages to show. | |
render ( ) : string | Convert the URL window into Bootstrap HTML. |
Méthode | Description | |
---|---|---|
currentPage ( ) : integer | Get the current page from the paginator. | |
getActivePageWrapper ( string $text ) : string | Get HTML wrapper for active text. | |
getAvailablePageWrapper ( string $url, integer $page, string | null $rel = null ) : string | Get HTML wrapper for an available page link. | |
getDisabledTextWrapper ( string $text ) : string | Get HTML wrapper for disabled text. | |
getDots ( ) : string | Get a pagination "dot" element. | |
getNextButton ( string $text = '»' ) : string | Get the next page pagination element. | |
getPreviousButton ( string $text = '«' ) : string | Get the previous page pagination element. | |
lastPage ( ) : integer | Get the last page from the paginator. |
public __construct ( Illuminate\Contracts\Pagination\Paginator $paginator, Illuminate\Pagination\UrlWindow $window = null ) : void | ||
$paginator | Illuminate\Contracts\Pagination\Paginator | |
$window | Illuminate\Pagination\UrlWindow | |
Résultat | void |
protected currentPage ( ) : integer | ||
Résultat | integer |
protected getActivePageWrapper ( string $text ) : string | ||
$text | string | |
Résultat | string |
protected getDisabledTextWrapper ( string $text ) : string | ||
$text | string | |
Résultat | string |
protected getNextButton ( string $text = '»' ) : string | ||
$text | string | |
Résultat | string |
protected getPreviousButton ( string $text = '«' ) : string | ||
$text | string | |
Résultat | string |
protected Paginator,Illuminate\Contracts\Pagination $paginator | ||
Résultat | Illuminate\Contracts\Pagination\Paginator |