Add class to pagination links at CakePHP 2.2
问题 I can add a class ("myclass") to the link (previous or next) which does not contain a link.(current page) I just add the class following the default ones: echo $this->Paginator->prev('< ', array(), null, array('class' => 'prev disabled myClass')); And it generates something like this: <span class="prev myClass disabled ">prev</span> But, when the previous or the next links have a link, then i the class is not added and it generates something like this: <span class="prev"> <a href="/tickets