Hi I'm using CakePHP 3.X I want to write a common method for all controllers so I wrote a controller called SpecialController and created a method in it. so I can extend the special controller so that I can have that method in all controllers. but the problem is how my method in the SpecialController know about the model that child controller uses ? Is there any method to to tell the controller about the model that to be used ?
Sorry if my language is unclear. I can add more explanation if you found it is unclear. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.