"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
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
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
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
4 matches
Mail list logo