You are here: class dependence « PHP Programming Language « IT news, forums, messages
class dependence

Posted by Jon Slaughter on 05/29/07 19:54

I have created a few classes which depend on other classes but I'm unsure
how to go about including the classes so they are visible to each other.

Can I just require_once at some point before use and make sure the order is
correct? or can I insert the require_once in the class itself(which then I'm
worried about forcing the location)? How does one normally go about this?

Thanks,
Jon

 

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

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