Re: [PHP] adding functions to a class

2001-09-04 Thread Jeroen Olthof
how stupid of me, ofcourse extends does the trick, thanks ! but one little question, somehow classname::function() works but parent::function() doesn't seem to work ??? "Sean C. McCarthy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > What you are lo

Re: [PHP] adding functions to a class

2001-09-04 Thread Sean C. McCarthy
Hi, What you are looking for is the OOP class extension. Look for "extends". Sean C. McCarthy SCI, S.L. (www.sci-spain.com) Jeroen Olthof wrote: > > hi, > > picture I have a class with some variable holding the information of this > class. Now there are some functions to mani

RE: [PHP] adding functions to a class

2001-09-04 Thread Boget, Chris
> the require(morefunctions.php); will ofcource not work but > bassicly this is what I want. en all the functions added should > be able to use VAR1 VAR2 VAR3 (and the other functions that > are allready in the class) > is there a why to do this ?? Yes, there is. Go here: http://www.php.net