Reply to Re: Extending classes at runtime

Your name:

Reply:


Posted by Dikkie Dik on 09/06/07 08:56

ptdorf@gmail.com wrote:
> Hi everybody,
>
> one of the most powerful things about ruby is its ability to add
> funcionality to a class (or an instance of a class) at runtime. Can
> anyone please tell me if this can be done with php?
>
> thanks a million
>
You could search the manual for "magic methods" and follow the link
"overloading". It may not be what you would do in Ruby, but it should
get you the same possibilities.

Hope this helps,
Dikkie

[Back to original 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

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