Yes, you can.
El viernes, 13 de septiembre de 2013 20:25:52 UTC+2, aram harutyunyan escribió:
-- Take a look to App::build() to add additional paths. For instance:
App::build(array(
'Plugin' => CakePlugin::path('YourPluginName') . DS . 'MorePluginsHere'
), App::APPEND);
app/
|---- Plugin/
|---- YourPluginName/
|---- Config/
|---- Controller/
|----MorePluginsHere/
|---- ThisIsASubPlugin/
|---- Config/
|---- Controller/
...
(Your parent plugin may have many sub-plugins)
PS: You may try to add the code above to your plugin's bootstrap.php (your parent plugin), so when parent gets loaded its child does as well.
El viernes, 13 de septiembre de 2013 20:25:52 UTC+2, aram harutyunyan escribió:
HiIs it possible to create a plugin inside a plugin with CakePHP?
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+unsubscribe@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/groups/opt_out.
No comments:
Post a Comment