BootstrapRenderer
class BootstrapRenderer extends AbstractHtmlRenderer
Bootstrap 5 pagination controls.
Methods
string
link(string $url, string $label, string|null $ariaLabel = null)
$label is trusted markup (page number or entity), $url is escaped here.
string
active(string $label)
No description
string
disabled(string $label, string $ariaLabel)
No description
string
gap()
No description
string
wrap(string $items)
No description
__construct(string $align = 'justify-content-center')
No description
Details
in
AbstractHtmlRenderer at line 12
string
render(Pagination $pagination)
No description
in
AbstractHtmlRenderer at line 41
protected string
e(string $value)
No description
at line 11
protected string
link(string $url, string $label, string|null $ariaLabel = null)
$label is trusted markup (page number or entity), $url is escaped here.
at line 18
protected string
active(string $label)
No description
at line 22
protected string
disabled(string $label, string $ariaLabel)
No description
at line 27
protected string
gap()
No description
at line 31
protected string
wrap(string $items)
No description
at line 9
__construct(string $align = 'justify-content-center')
No description