Re: Strange behaviour of static declared content.
| From: | Joshua Bacher | Date: | Thu, 18 Oct 2007 16:49:03 +0000 |
| Subject: | Re: Strange behaviour of static declared content. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263315@lists.php.net to get a copy of this message | ||
> [snip]
> to be honest i meanwhile have a workaround.
> [/snip]
>
> How about extending the API class and putting the function within the
> extended class that you need?
it's only partially a solution since the API will change. therefore the
expressions in the if statement maybe will change.
if i extend the class i would have to overwrite the function with my
version. In fact this will solve my problem, but i will not be able to
gain from the updates of newer versions for that function in the API,
right? Thats a solution but it will result in many more problems in the
end. I could merge all the time, but thats sloppy, i don't want that, i
am to lazy for doing that :)
thanks anyway
josh
--
--------------------------------
joshua bacher
Max Planck Institute for Evolutionary Anthropology
Deutscher Platz 6
04103 LEIPZIG
Germany
web: http://bacher.bash-it.de
--------------------------------