Shell scripts are beyond my experience, so can't contribute to that one. Sounds like this ought to go in a component though, if you want to do it from multiple controllers.
Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 4 Feb 2011, at 07:45, Ryan Schmidt wrote: > > 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 -- 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
