Tuesday, October 4, 2011

requestAction array based urls inside plugin

Regarding the new array based URLs in a requestAction, can this work
for plugins as well?

I tried with and without a plugin key and got errors. The
requestAction works when using the old style string URL.

$data = $this->requestAction(
array(
'plugin' => 'pluginName',
'controller' => 'controllerName',
'action' => 'index'
)
);

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: