Hi Kez,

You say: "I need to perform a fairly complex operation on one column
for each row... "

If these complex operations are primarily about how to present the
data, then a Helper is most appropriate.

If you would consider them to be more business logic than presentation
logic, then you have other options.

"...which involves data from another controller."

Is the data truly from another controller, or is it mainly from that
controller's model?

If the controller, then you could call requestAction() of the other
controller from your current one, and pass the result on to the view.

If this data is really model based, consider putting it straight into
your model- that way it's available directly. If both these
controllers' models are related, you can access an associated model
with someting like

 $this->CurrentModel->AssociatedModel->getData()

Hope that's helpful...


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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