Hi gaeb

On Wed, May 28, 2008 at 8:17 PM, gaeb <[EMAIL PROTECTED]> wrote:

> p.s. I am adding the uses line so I can get a list of acceptable
> part_units so I can populate a select field on an add view.  Should I
> not be doing it this way?

A proper and simpler way to access the PartUnit model and methods from
your controller, without using "uses" is :
$this->Part->PartUnit->method();
It should work for all the models that are associated with Part

For the rest, I don't know...
++++++
Clément

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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