Reply to Re: Problems with include and duplication function definitions

Your name:

Reply:


Posted by Jerry Stuckle on 04/14/06 23:42

Wescotte wrote:
> Can you be more specific? I believe I understand the OO programming and
> how to use classes (and inheritance) but I fail ot see how I can allow
> a class to have the same function name and yet completely different
> code.
>

OK, stop thinking in functions. Think in objects.

Each type of file is a different type of object. Each will have it's own class
to do the processing. And every one of the classes can have the same function
names - but different code.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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