<-- 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/properties, and I want it
used
> as if it was part of the orginal THEPARENT Class.
>
> Me just being picky.
>
> Walter
<-- snip -->

walter you want to do a declaration in the class that you want to use the
base class in ie


when you declare your child class

class Web_child extends WEB_parent
{
    -- your new and extended code here
}

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to