EllisLab/CodeIgniter — pull request #765 by morgaan (2011-12-10 17:08:06+00:00)
Title: Fix issue #713 - Pagination lacks of anchor_target 

- Enables ability to add attributes to every anchor in Pagination library
- Updated doc and changelog with the possibly new feature

*********************************
Adding attributes to every anchor
*********************************

If you want to add attributes to every link rendered by the
pagination class, you can set the config "anchor_attributes" equal to the
array of attribute/value pairs you want. Placing a %s within an attribute value
will be patched by the link's text as shown below::

$config['anchor_attributes']['target'] = '_top';
$config['anchor_attributes']['id'] = 'mylink%s';

// Produces: 2