Hi Roy

If you want to define custom functions the best place to pop it is inside
the app_controller.php

This way you can call $this->multiexplode( ... ) in any controller and it
will access it from the AppController.

Otherwise pop the function inside the controller you wish to use it.

It's also a good idea to prefix your functions with _ i.e. function
_multiexplode() {

This means that you won't be able to access the function via the URL
/controller/multiexplode

Hope this helps

-- 
Kind Regards
 Stephen @ NinjaCoderMonkey

 www.ninjacodermonkey.co.uk

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

Reply via email to