Yes, but couldn't set/get methods still have been implemented, so that
Cake would be forward compatible?

On Oct 1, 9:51 am, "Christian Winther" <[EMAIL PROTECTED]> wrote:
> CakePHP is PHP4 compatiable, and PHP4 does not support access modifiers.
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of stefanb
> Sent: 1. oktober 2007 09:19
> To: Cake PHP
> Subject: Why are all properties public?
>
> Why are all properties public? Why doesn't Cake use private properties
> and public get/set methods so that encapsulation is achieved? Or did I
> miss something here?
>
> - stefanb


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