AbstractHtmlRenderer
abstract class AbstractHtmlRenderer implements PaginationRenderer
Shared structure for HTML renderers. Subclasses only supply markup for the wrapper, a link, an active page, a disabled item, and a gap.
Methods
string
string
e(string $value)
No description
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
Details
at line 12
string
render(Pagination $pagination)
No description
at line 41
protected string
e(string $value)
No description
at line 46
abstract 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 47
abstract protected string
active(string $label)
No description
at line 48
abstract protected string
disabled(string $label, string $ariaLabel)
No description
at line 49
abstract protected string
gap()
No description
at line 50
abstract protected string
wrap(string $items)
No description