How Do I Add a Class to a CodeIgniter Anchor
The Codeignitor function is defined as such:
function anchor($uri = '', $title = '', $attributes = '')
I would try sending an array with a class key and value first.
These functions are found inside the \system\helpers\ folder.
You can specify an associative array of attributes for your Anchor. So, for example:
anchor('', 'Home', array('class' => 'top_parent'));