Monday, January 21, 2013

Re: How can I override a CakePHP plugin in application?

My question is general. There are a couple of frameworks which allow to override the plugin (or bundle or module or call it whatever) level things easily on application level. This adds great flexibility. Very practical if I can share the plugin level things among the projects without any modification and I can override things (models, views, controllers etc.) only in the current project's app directory. For example Symfony 2 or Kohana have this possibility. So both model and controller overriding is interesting for me.

2013. január 21., hétfő 14:24:48 UTC+1 időpontban jsundquist a következőt írta:
Can you give us a little bit more information. What are you trying to override a controller or model?


On Mon, Jan 21, 2013 at 7:36 AM, Cséfalvay Kálmán <csefalva...@gmail.com> wrote:
I see that overriding of a view is very simple (http://book.cakephp.org/2.0/en/plugins.html#overriding-plugin-views-from-inside-your-application), but how can I override a controller or a model?

--
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+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: