Re: Understanding the M in MVC?

2011-02-03 Thread Jeremy Burns | Class Outfit
Create a function in your controller that firstly creates the connection object. Then have the function get the data from the model, which returns an array to the controller and is stored in a variable in the controller. Now parse that array running your controller/component function against

Re: Understanding the M in MVC?

2011-02-03 Thread Ryan Schmidt
On Feb 4, 2011, at 01:13, Jeremy Burns | Class Outfit wrote: Create a function in your controller that firstly creates the connection object. Then have the function get the data from the model, which returns an array to the controller and is stored in a variable in the controller. Now

Re: Media View related Query

2011-02-03 Thread newguy
Hi I did what was suggested in the above post and now this is my download function: function download ($slug = null) { $this-view = 'Media'; $params = array( 'id' = 'example.zip, 'name' = 'example', 'download' = true,

<    1   2