Make a Common function in /your_app_name/lib/Cake/basics.php
function ping_common($params){ return $something; } Then You should use it in anywhere in your application. function ping() { $response_something = ping_common($params); } -- Thanks & Regards Chetan Patel -- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.