Re: parent classes
| From: | daniel at electroteque dot org | Date: | Mon, 01 Sep 2003 01:14:48 +0000 |
| Subject: | Re: parent classes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-161333@lists.php.net to get a copy of this message | ||
I think i know what you mean, when you are using a sub class and you want
to use functions of a base class i find i have to do this to make it work
in the sub class constructor
parent::HTTP_Register;
> I want to iterate through parents of some class.
> The function get_parent_class is not enough since it retrieves only the
> first parent of an instance.
> Is there a way to retrieve the parents of a class without having an
> instance of this class ? And if I have an instance, can I retrieve all
> parent classes?
>
> Cristiano Duarte.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php