I’m using the base controller (components/controller.php) that I extend all my controllers from. I want to put some logic in there that is executed on all the controllers but is passed down to the view. Now the only way I know how to pass something to the view is with $this->render method, which won’t work, because it would be double rendering at times.
Any ideas? I just want to pass something to the view or have it accesible by the view without rendering.