[eluser]madwhistler[/eluser]
Ok, I'm probably violating some sort of scoping morality rules here but...
I need access to $this->session->userdata() from a Model object. Inside the model, $this->session doesn't work. Is there *any* way to get hold of my controller's handle??
Reasons for doing this: I'm using that scary non-supported htmlform extension (because it's so very cool) and I need to filter the auto-generated dropdown lists. There's a callback for that: get_htmlform_list(), but it needs to be in the model class. Unfortunately, for my get_htmlform_list() to filter things right, it needs to grab some session userdata variables.
I'm bollixed here...can anyone help?