Hi all,
Is it possible to fetch the return value from a certain function inside an
action controller?
This is the use case: I have ad admin module and a specific controller.
This
controller builds a form to edit some data. The data might come from
another
modules, so I call the admin-controller from that module.
I want to have something like this (pseudo code):
admin-module/controller-action:
> $form = new Zend_Form;
$subform = someMagicFunction('blog', 'admin', 'getForm');
$form->addSubform($subform);
Is this possible to achieve? Currently I fetch the results with a custom
dispatcher, but that's imho an ugly hack...
Regards, Jurian