Reply to Re: SOAP question - creating instances/ accessing constructor method?

Your name:

Reply:


Posted by Steve on 10/10/34 11:26

On Wed, 31 Aug 2005 16:47:01 -0700, Piro wrote:

> Also, I noticed you wrote a method to return a class property... is
> there any way to access the property directly? Rather than
>
> print $client->getName();
>
> I was thinking
>
> print $client->name;
>
> It seems cumbersome to have methods for each class property, especially
> if there are a bunch of them.

....maybe now is a good time to do some reading on Object Orientated
Programming? And the fact that the primary concept is to *never* directly
access the data that the methods are protecting?

Steve

[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

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