Hi TJ Singleton,

i know the function requestAction.

I want to know, can i call this function with an array as parameter,
like this:

$document= array('1', '/2007/01/01/filename.pdf', 'example');



function saveDocument($document){

//do something with the $document array

}

Klaus Schwarzkopf

TJSingleton schrieb:

Try requestAction($url, $extra)

From the Manual:
This function calls a controller's action from any location and returns
the rendered view. The $url is a Cake URL
(/controllername/actionname/params). If the $extra array includes a
'return' key, AutoRender is automatically set to true for the
controller action.

http://manual.cakephp.org/chapter/controllers

--
TJ Singleton


>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to