@AD7six: yes, it is (mostly) correct, but this is not deliberate.  It
has to do with the fact that php4 can only read __call method names in
lowercase.  However, because of the way the Inflector is set up, you
can manually underscore the field names in the method, i.e.
findByFirst_name, and it will read fine on both versions of PHP.

Also, for those running Cake 1.2, some enhancements were added to the
magic find methods, so you can now do things like
findAllByFirstNameOrLastName($first, $last) (or
findAllByFirst_name_or_last_name in the case above).


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to