Reply to Is there a generic Object in PHP?

Your name:

Reply:


Posted by KDawg44 on 11/12/48 12:00

Hi,

I would like to have a function that takes a generic object and takes
some action on this. Something like,

function AMethod(Object obj) {
DoSomeStufftotheObject;
}

then be able to pass various object types in. Is there a way to do
this in PHP? Do classes automatically inherit from a generic Object
like in Java?

Thanks.

[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

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