Re: [PHP] class variables and methods

2001-08-19 Thread Tom Carter
D]] > > Sent: Sunday, August 19, 2001 2:19 AM > > To: Andrew Libby; Joe Sheble (Wizaerd) > > Cc: General PHP List > > Subject: Re: [PHP] class variables and methods > > > > > > There was a long discussion on this in a java forum I am part of, the > > prod

RE: [PHP] class variables and methods

2001-08-19 Thread Joe Sheble \(Wizaerd\)
ading?? > -Original Message- > From: Tom Carter [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 19, 2001 2:19 AM > To: Andrew Libby; Joe Sheble (Wizaerd) > Cc: General PHP List > Subject: Re: [PHP] class variables and methods > > > There was a long discussion on t

Re: [PHP] class variables and methods

2001-08-19 Thread Tom Carter
TECTED]> To: "Joe Sheble (Wizaerd)" <[EMAIL PROTECTED]> Cc: "General PHP List" <[EMAIL PROTECTED]> Sent: Sunday, August 19, 2001 3:34 AM Subject: Re: [PHP] class variables and methods > Joe, > There are varying opinions on this issue. The argument

Re: [PHP] class variables and methods

2001-08-18 Thread Andrew Libby
Joe, There are varying opinions on this issue. The argument for methods is that it hides the internal structure of your class. This is always a good thing. This means that the internals of the class can be changed, but the user interface (the user is the programmer here) does not change.

[PHP] class variables and methods

2001-08-18 Thread Joe Sheble \(Wizaerd\)
I've been doing some reading up on OOP in PHP, and looking at some of the classes available on the web, and I've got what is probably a stupid question. I've seen this many many times.. class someclass { var $somevar = "someval"; function set( $key, $val ) { $thi