How to call a function from another controlle?
eg I have a plugin called Test, and the class named TestController, where I have a ping function , public function ping() {...}
how can I call the ping function from app controller beforeFilter function?
public function beforeFilter(){
// call Plugin/Test/TestController/ping() ???
}
Thanx
-- 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-US.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home