[eluser]Aken[/eluser]
You forgot to reference the CI object.
Code:
$CI =& get_instance();
And yes, that's what you'd do if it was in a helper. I wasn't sure if he wanted it in his constructor or helper, so I just exampled with $this. He should be able to translate it either way at that point.