[eluser]jedd[/eluser]
[quote author="Samuurai" date="1253546318"]
I am using redirects so I'm going to use the flashdata in some cases, but I want to also use normal $data->message = "blah" then load the view, passing $data.
[/quote]
If you're using redirects, you have to sustain your flashdata through the jumps. Why not just use normal session data?
I put my 'make a little one of four-coloured alert/info boxes' function in my helper (and I autoload my helper). This calls returns a string of HTML, and does that via a view partial.
I'm not entirely convinced it's the best way of doing it.
I also suggest you explore the wiki and the forum and the user guide for the string
MY_Controller - it'll throw up a gazillion (the UK, not the US figure - that'd just be silly) results and should give you some good pointers - you could conceivably locate this functionality entirely in that construct.
It'd certainly go some way to satisfying your ultimate requirement - though you don't want to call '$this->anything' from your view, but rather your controller.