Are these models associated with each other? If so, you can do
everything from within the Invoice model. That is, if Invoice is
associated with ExternalHeader, just do
$this-ExternalHeader-save(...) That way, there's no need for the
controller to load the other models.
On Wed, May 2, 2012 at
Thanks for the tip. I'll check it when I get back to the office.
Sincerely,
Michael Stelly
mobile: +1.918.978.2000
skype: mjstelly
LinkedIn http://www.linkedin.com/in/mstelly
On Mon, May 7, 2012 at 6:11 PM, lowpass zijn.digi...@gmail.com wrote:
Are these models associated with each other? If
I'm new to CakePHP and still unfamiliar with the API. So, please bear
with me here.
I have 5 models - 2 for an external data store, 2 for a local data
store, and 1 for the controller. I have one controller that's
directing all the activity. In the controller, I fetch the remote data
and pass