The benefit would be encapsulation. Yes, Cake is stopping me:
WHen I try to set $validate to private in my Category model, I get the following error: "Access level to Category::$validate must be public (as in class AppModel)" On Oct 1, 2:25 pm, AD7six <[EMAIL PROTECTED]> wrote: > On Oct 1, 12:29 pm, stefanb <[EMAIL PROTECTED]> wrote: > > > Yes, but couldn't set/get methods still have been implemented, so that > > Cake would be forward compatible? > > To what benefit (apart from bloat)? > > There is nothing stopping you from defining fields to be private, or > writing get/set methods if you must. > > Cheers, > > AD --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
