title: Add class to pagination links at CakePHP 2.2
body: <p>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:</p>
  
  <pre><code>echo $this-&gt;Paginator-&gt;prev('&lt; ', array(), null, array('class' =&gt; 'prev disabled myClass'));
  </code></pre>
  
  <p>And it generates something like this:</p>
  
  <pre><code>&lt;span class="prev myClass disabled "&gt;prev&lt;/span&gt;
  </code></pre>
  
  <p>But, when the <em>previous</em> or the <em>next</em> links have a link, then i the class is not added and it generates something like this:</p>
  
  <pre><code>&lt;span class="prev"&gt;
      &lt;a href="/tickets/tickets/index/page:1?url=tickets" rel="prev"&gt;prev&lt;/a&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>How can i add a class in this cases to this pagination links?</p>
  
  <p>Thanks.</p>