Re: [PHP] Re: PHP class question

2009-05-21 Thread Nathan Rixham
Shawn McKenzie wrote: Shawn McKenzie wrote: Peter van der Does wrote: On Thu, 21 May 2009 14:08:11 -0500 Shawn McKenzie wrote: This doesn't make sense. You say "class A needs to be extended with another class", however what you show below is "class A extending framework_class". I worded

Re: [PHP] Re: PHP class question

2009-05-21 Thread Shawn McKenzie
Shawn McKenzie wrote: > Peter van der Does wrote: >> On Thu, 21 May 2009 14:08:11 -0500 >> Shawn McKenzie wrote: >> >> >>> This doesn't make sense. You say "class A needs to be extended with >>> another class", however what you show below is "class A extending >>> framework_class". >>> >> I worde

Re: [PHP] Re: PHP class question

2009-05-21 Thread Shawn McKenzie
Peter van der Does wrote: > On Thu, 21 May 2009 14:08:11 -0500 > Shawn McKenzie wrote: > > >> This doesn't make sense. You say "class A needs to be extended with >> another class", however what you show below is "class A extending >> framework_class". >> > > I worded it wrong, I apologize. > C

Re: [PHP] Re: PHP class question

2009-05-21 Thread Peter van der Does
On Thu, 21 May 2009 14:08:11 -0500 Shawn McKenzie wrote: > > This doesn't make sense. You say "class A needs to be extended with > another class", however what you show below is "class A extending > framework_class". > I worded it wrong, I apologize. Class A needs to be an extension of the f

[PHP] Re: PHP class question

2009-05-21 Thread Shawn McKenzie
Peter van der Does wrote: > I have the following situation. > > I wrote some software and split it up into functionality: > > class core { > function go{ > } > } > > class A extends core { > // PHP4 constructor > function A { > $this->go(); > } > > } > > class B extends core { >

[PHP] Re: PHP class question

2009-05-21 Thread Nathan Rixham
Peter van der Does wrote: I have the following situation. I wrote some software and split it up into functionality: class core { function go{ } } class A extends core { // PHP4 constructor function A { $this->go(); } } class B extends core { } In core I define functions and va