findBy I think you still have to findByCamel_case  if your model name
is CamelCase  in php4  (at least I do in my version)

see last comment in this thread
<http://groups.google.com/group/cake-php/browse_thread/thread/30aaee6b59a3a32f/2831ec4eeedb2a23?lnk=st&q=findby+nate&rnum=1#2831ec4eeedb2a23>


On 11/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> i don't have php4 so i can't check, but are you saying that putting var
> $name = 'CamelCase' thing in your controllers/models/components etc
> will suffice?
> so you can call $this->Zebra->findByCamelCase in php4 as long as you do
> the $name thing?
>
> (better to make this sure, once and for all ;)
>
> and if your ZebraController has var $uses = array('CamelCase','Zebra');
> you only need to put the 'Zebra' in the $name var, right? not the other
> models that the controller uses?
>
>
> >
>


-- 
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to