Reply to Re: [PHP] Object Function-call handling in PHP5

Your name:

Reply:


Posted by "Thorsten Suckow-Homberg" on 09/28/05 18:15

>This is a toughy I've been working over for a bit. I was wondering if
>there is a way to cause objects to have certain behaviors when builtin
>functions are called, or maybe a way of setting, for example, a
>"primary" string which is used whenever a function requiring a string
>calls it.

Take a look at http://www.php.net/php5, section "Magic Methods"

In your case the __toString() method would be valuable...


Regards

Thorsten Suckow-Homberg

[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

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