Welcome Guest, Not a member yet? Register   Sign In
Using Controller Filters to add data to Views
#4

What you get are a Response object, and you can do everything that's available here:
https://codeigniter.com/user_guide/outgo...ponse.html

And for bad words:
$response->getBody();
// do stuff
$response->setBody($clean);

Don't think you can inject a view cell somewhere. Haven't tested it thought.
Reply


Messages In This Thread
RE: Using Controller Filters to add data to Views - by jreklund - 08-04-2020, 10:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB