pagination_with_first_and_last.ctp
714 Bytes
<!-- La façon cakephp 3.4 avec cake.css -->
<div class="paginator">
<ul class="pagination">
<p>
<!-- La façon inventirap.css
<div class="paging" style="color: black;">
<div class="paging">
-->
<?php
echo $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']);
echo $this->Paginator->first('<< ' . __(''), ['class' => 'prev']);
echo $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']);
echo $this->Paginator->numbers(['separator' => '']);
echo $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']);
echo $this->Paginator->last(__('') . ' >>', ['class' => 'next']);
?>
</p>
</ul>
</div>