jsWalter wrote:
> What I am trying to do is EXTEND the PEAR::Auth Class with new properties
> and methods.
>
> But I still want to use the original instantiation call...
>
>$myAuth =& Auth();
>
> So, I don't think I can rename the orginal Class in this case.
>
> I'm just being particular.
>
>
On Wed, 3 Sep 2003 10:05:46 -0700
"Chris Sherwood" <[EMAIL PROTECTED]> wrote:
>
> <-- snip -->
> > > I dont know much about classes, but dont you want
> > >
> > > $a = new THECHILD('walter'); //so you can access $a->abc
> > >
> > > instead of
> > >
> > > $a = new THEPARENT ('walter');
> >
> > No,
> What I am trying to do is EXTEND the PEAR::Auth Class with new properties
> and methods.
Ok.
> But I still want to use the original instantiation call...
>$myAuth =& Auth();
Which is instantiating the parent class.
>From what I understand of your question, you are wanting to instantiate th
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> jsWalter wrote:
> > I'm wanting to EXTEND the orginal class.
> >
> > meaning, my THECHILD class efines new methods/properties, and I want it
used
> > as if it was part of the orginal THEPARENT Class.
> >
> > Me just bei
<-- snip -->
> > I dont know much about classes, but dont you want
> >
> > $a = new THECHILD('walter'); //so you can access $a->abc
> >
> > instead of
> >
> > $a = new THEPARENT ('walter');
>
> No, I'm wanting to EXTEND the orginal class.
>
> meaning, my THECHILD class efines new methods/propertie
jsWalter wrote:
-Original Message-
From: Matt Matijevich [mailto:[EMAIL PROTECTED]
I dont know much about classes, but dont you want
$a = new THECHILD('walter'); //so you can access $a->abc
instead of
$a = new THEPARENT ('walter');
No, I'm wanting to EXTEND the orginal class.
meaning
> -Original Message-
> From: Matt Matijevich [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 03, 2003 11:21 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Q on Class and EXTEND
>
>
> I dont know much about classes, but dont you want
>
I dont know much about classes, but dont you want
$a = new THECHILD('walter'); //so you can access $a->abc
instead of
$a = new THEPARENT ('walter');
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo