'#table-container-' . h($tableRandomValue),
'evalScripts' => true
);
if (!empty($paginationOptions)) {
$options = array_merge($options, $paginationOptions);
}
$onClick = sprintf(
'onClick="executePagination(%s, %s);"',
"'" . h($tableRandomValue) . "'",
"'{{url}}'"
);
$this->Paginator->setTemplates(
[
'nextActive' => '
{{text}}',
'nextDisabled' => '{{text}}',
'prevActive' => '{{text}}',
'prevDisabled' => '{{text}}',
'counterRange' => '{{start}} - {{end}} of {{count}}',
'counterPages' => '{{page}} of {{pages}}',
'first' => '{{text}}',
'last' => '{{text}}',
'number' => '{{text}}',
'current' => '{{text}}',
'ellipsis' => '…',
'sort' => '{{text}}',
'sortAsc' => '{{text}} ',
'sortDesc' => '{{text}} ',
'sortAscLocked' => '{{text}}',
'sortDescLocked' => '{{text}}'
]
);
echo $this->Paginator->options($options);
?>