Thanks very much for the replies guys thats worked great, I knew there must have been some way of doing it!
On Dec 18, 10:28 am, majna <[email protected]> wrote: > ..and add Controller reference: > > App::import('Component', 'Own'); > $this->Own = new OwnComponent(); > $this->Own->startup($this); > > On Dec 18, 1:16 am, euromark <[email protected]> wrote: > > > > > sure > > nothing easier than that > > > App::import('Component', 'Own'); > > $this->Own = new OwnComponent(); > > > On 17 Dez., 22:28, number9 <[email protected]> wrote: > > > > I'm using the flickr api component within an app and it is working > > > great, but for some reason it is causing a foreach loop to not work (I > > > have no idea why). > > > > At the moment I have initialized the component as follows: > > > > var $components = array('Flickr'); > > > > Is there any way I can replicate that within a function such as: > > > > function index() > > > { > > > // Include component here... > > > > } > > > > In this way I can avoid the clash with the for each loop! > > > > Thanks in advance. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
