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 > parse that array running your controller/component function against your > connection object.
I thought that might be the answer... but what if I not only need to do this from a controller (multiple controllers), but also from shell scripts (in APP/vendor/shells)? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
