Reply to Re: private, protected, static vars

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация