Wednesday, October 24, 2012

Re: Copy branch of Tree to another parent

On Wed, Oct 24, 2012 at 2:46 PM, bs28723
<bill.stoltz@boosterwebsolutions.com> wrote:
> I guess nobody know of an easy way to do this?
> nobody has ever written a routine to do this?
> Last hope before I dive into this....
> Thanks
> Bill

Try this Bill - I ain't saying it's elegant :)

http://pastebin.com/vYNExjZ2

--
Alex Bovey
Web Developer | Alex Bovey Consultancy Ltd
Registered in England & Wales no. 6471391 | VAT no. 934 8959 65
alex@bovey.co.uk | t 0844 567 8995 | m 07828 649386 | f 0870 288 9533
PHP | CakePHP | MySQL | jQuery | HTML5 | CSS3 | Drupal | Wordpress | Hosting

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.

No comments: