Re: [PHP] Q on Class and EXTEND

2003-09-03 Thread CPT John W. Holmes
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. > >

Re: [PHP] Q on Class and EXTEND

2003-09-03 Thread Raquel Rice
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,

Re: [PHP] Q on Class and EXTEND

2003-09-03 Thread Chris Boget
> 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

Re: [PHP] Q on Class and EXTEND

2003-09-03 Thread jsWalter
"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

Re: [PHP] Q on Class and EXTEND

2003-09-03 Thread Chris Sherwood
<-- 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

Re: [PHP] Q on Class and EXTEND

2003-09-03 Thread John W. Holmes
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

RE: [PHP] Q on Class and EXTEND

2003-09-03 Thread jsWalter
> -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 >

Re: [PHP] Q on Class and EXTEND

2003-09-03 Thread Matt Matijevich
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