|
Posted by -Lost on 12/23/06 21:28
"Koncept" <user@unknown.invalid> wrote in message
news:231220061543354983%user@unknown.invalid...
>
> Could somebody please inform me what the difference between setting a
> variable as private is compared to protected within a class? I can't
> see the difference and would appreciate a brief example. I suspect
> this has more to do with subclassing but it eludes me... Also, when is
> it appropriate to set a variable to *static* ? Examples are welcome.
Look up "Static Keyword" and "Visibility" under "Classes and Objects (PHP 5)" in the
manual.
Those should explain it decently enough, if not, repost.
-Lost
Navigation:
[Reply to this message]
|