I search topics about rendering bat I still have a question.
I want something like this:
class ControllerName extends AppController
{
function doSmth(){
....
$this->set('data',$this->parseObj());
....
}
function parseObj(){
$this->set('data1','.....' );
$this->set('data2','.....' );
$this->set('data3','.....' );
$this->set('data4','.....' );
$this->set('data5','.....' );
return $this->render('view');
}
}
Of course I can use $this->requestAction('path', array('return')) with
all parameters (data1, data2..) but as I see it's not proper way
cause at least I have to serialize and unserialize all parameters.
Unfortunately code above doesn't work.. any suggestions?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---