You are here: PHP 5 Question about OO « PHP « IT news, forums, messages
PHP 5 Question about OO

Posted by janbro on 06/01/05 11:01

Hi List,

I'm using the oo orientation of PHP5 for a while now. All Classes I've
got have a require on top them, if I try to reference to other classes.
something like

require (Class2.php);
class Class1{
private function ... {
$refClass2 = new Class2;
}
}

Now my question, is it possible to skip that require/ include part? In
Java you don't need that, as class and file names are identical.

thx
janbro

 

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

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