Controllers, Actions and Renders

Hi guys,

I'm kinda stuck, and don't have time to check out the core scripts to figure out how this goes. Can someone explain in detail how I can use Action classes to keep my app modular, and at the same time make use of the controller's render() function to use the predefined layout?

I was able to make use of the Action classes to perform the logic I need, but I'm having trouble understanding how to place the results into the view. I think I'm missing something.

Help is much appreciated. Thanks!

In your action class' run() method, you can use $this->controller->render() to render a view and pass variables to it.

Oh! Great, thanks. I didn’t think the controller was a property of the Action.  :D