Afficher un message
Vieux 18/10/2007, 18h49   #14
Joshua Bacher
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Strange behaviour of static declared content.

> [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
--------------------------------


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHF45/oQ1PzKVWDx0RAmO0AJ9Drx9sfzdSipkZK6qPIlOOHT8zWgCeMT go
ogCGPJtjKjbN7vU/ywIYfL0=
=p65J
-----END PGP SIGNATURE-----

  Réponse avec citation
 
Page generated in 0,05406 seconds with 9 queries