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
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
> 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
hi,
picture I have a class with some variable holding the information of this
class. Now there are some functions to manipulate the vars. well, you nou
what classes are about. but now I want to add functions that are located in
a different php file. but this functions need to use the the var of t
4 matches
Mail list logo