Re: How to set mapResources for all controllers?
put name of every controller into argument of mapResources W dniu wtorek, 13 listopada 2012 20:12:34 UTC+1 użytkownik cricket napisał: What do you mean by automatically? Like in a config file? On Tue, Nov 13, 2012 at 9:06 AM, derwu22 der...@gmail.com javascript: wrote: Anyone? W dniu poniedziałek, 12 listopada 2012 18:41:05 UTC+1 użytkownik derwu22 napisał: Router::mapResources(Array('groups','examTypes','...')); I know that I can manually set array of controllers name, but how I can set it automatically? -- 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...@googlegroups.comjavascript:. To unsubscribe from this group, send email to cake-php+u...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/cake-php?hl=en. -- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: How to set mapResources for all controllers?
Router::mapResources( App::objects('Controller')); On Wed, Nov 14, 2012 at 6:26 AM, derwu22 derw...@gmail.com wrote: put name of every controller into argument of mapResources W dniu wtorek, 13 listopada 2012 20:12:34 UTC+1 użytkownik cricket napisał: What do you mean by automatically? Like in a config file? On Tue, Nov 13, 2012 at 9:06 AM, derwu22 der...@gmail.com wrote: Anyone? W dniu poniedziałek, 12 listopada 2012 18:41:05 UTC+1 użytkownik derwu22 napisał: Router::mapResources(Array('groups','examTypes','...')); I know that I can manually set array of controllers name, but how I can set it automatically? -- 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...@googlegroups.com. To unsubscribe from this group, send email to cake-php+u...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. -- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. -- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: How to set mapResources for all controllers?
Anyone? W dniu poniedziałek, 12 listopada 2012 18:41:05 UTC+1 użytkownik derwu22 napisał: *Router::mapResources(Array('groups','examTypes','...'));* I know that I can manually set array of controllers name, but how I can set it automatically? -- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.
Re: How to set mapResources for all controllers?
What do you mean by automatically? Like in a config file? On Tue, Nov 13, 2012 at 9:06 AM, derwu22 derw...@gmail.com wrote: Anyone? W dniu poniedziałek, 12 listopada 2012 18:41:05 UTC+1 użytkownik derwu22 napisał: Router::mapResources(Array('groups','examTypes','...')); I know that I can manually set array of controllers name, but how I can set it automatically? -- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. -- 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+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en.