Argh, damn xD The good old ClassRegistry, totally forgotten, thanks
for the hint!

-- Christian

On Jan 5, 11:16 pm, majna <[email protected]> wrote:
> You can load plugins form db in bootstrap.php too:
>
> $pluginHooks  = ClasRegistry::init('PluginHook')->find('all');
> foreach ( $pluginHooks as $pluginHook ) ...
>
> and then Configure::write('plugins', $plugins) for your hooks to be
> available in views as Configure::read('plugins');

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to