Flelix,
Thank you for the link to your article. Very useful.

I can get the output from a controller action by doing this:

$_GET['url'] = 'favicon.ico';
require_once('path_to_appA\webroot\index.php');
$Dispatcher =& new Dispatcher();
ob_start();
$Dispatcher->dispatch('/controller/action');
$output = ob_get_clean();

1) I am wondering if there is a way I can tell cake not to print out
the rendered output so that I don't have to use output-buffering.
2) You mention in the article that
" The only thing we might need to do is call loadController(null) for
loading the AppController (or others) and calling loadModels() to load
our model files"
I did not call any load function but I was still able to get the
controller action's output. Did I miss anything?
Could you please explain in which situation we need to call the load
functions, in which order and then how to get an action executed?

Thanks again,
Zonium





--~--~---------~--~----~------------~-------~--~----~
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