You are here: Re: [PHP] Re: Get name of extending class with static method call « PHP « IT news, forums, messages
Re: [PHP] Re: Get name of extending class with static method call

Posted by Mehdi Achour on 10/03/35 11:05

Because it's a change, that should be reverted, or documented.

didou

M. Sokolewicz wrote:
> Torsten Roehr wrote:
>
>> "Morten Rønseth" <morten.ronseth@webfx.no> wrote in message
>> news:20050112134715.69463.qmail@pb1.pair.com...
>>
>>> Hi,
>>>
>>> I just tried the example code at
>>> http://www.zend.com/lists/php-dev/200307/msg00244.html using PHP 5.0.3
>>>
>>> The backtrace doesn't see class b at all, all references to it have
>>> vanished into thin air.
>>>
>>> I spent days trying to solve this on my own until I happened upon this
>>> thread - it appears that there is no clean way of retrieving the name of
>>> the calling class, in a classmethod defined in the superclass. I do not
>>> want to overload the sperclass' method.
>>>
>>> I do not accept that this is misusing the static concept - without it,
>>> PHP 5 seems rather lame. How does one go about making a feature request?
>>> There has to be a way to get this implemented into PHP 5...
>>>
>>> Cheers,
>>> -Morten
>>
>>
>>
>> Hi guys,
>>
>> I guess it's time to risk asking on php-dev ;) I will try my luck.
>> Let's see
>> what the gurus say!
>>
>> Regards, Torsten
>
> why do you think they'd respond with something else than "ask at
> php.generals" ?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация