Re: [PHP] OOP Question in PHP

2002-06-06 Thread Ilker Cetinkaya
"Scott Hurring" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Depends ;-) yea, really depnds, but as you mentioned, having parameterless constructors are more generic, especially when it comes to derive the classes. > > instead (with option #2), you could

Re: [PHP] OOP Question in PHP

2002-06-05 Thread Daniel Tryba
On Wed, Jun 05, 2002 at 10:32:39PM +0100, Henry Blackman wrote: > Do I create a new document and pass the primary key as it's a variable in > the > > $document = new Document(number); > > and have the constructor retrieve the appropriate data from MySQL and fill > the attribute variables. > > O

RE: [PHP] OOP Question in PHP

2002-06-05 Thread Scott Hurring
t: Wednesday, June 05, 2002 5:33 PM > To: [EMAIL PROTECTED] > Subject: [PHP] OOP Question in PHP > > > Hello. > > I have, what is probably a silly, question. > > I want to convert my existing scripts to OO - because it's > the "way to go" > in term

[PHP] OOP Question in PHP

2002-06-05 Thread Henry Blackman
Hello. I have, what is probably a silly, question. I want to convert my existing scripts to OO - because it's the "way to go" in terms of the huge amount of functionality that they now have (and since I've never done it before it would be interesting). However I have one thing that I don't unde