|
Posted by Ivαn Sαnchez Ortega on 08/28/07 23:53
Phil Latio wrote:
> I'm designing a small framework with a lot of classes (1 file per class)
> and want to know the best method of calling each class?
>
> Obviously I could I call each file that is used but that could be 10 or
> more include statements. I am wonering if there is a better way? It's bit
> annoying you can't build packages like Java.
RTFM about __autoload().
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
http://acm.asoc.fi.upm.es/~mr/
Proudly running Debian Linux with 2.6.22-1-amd64 kernel, KDE 3.5.7, and PHP
5.2.3-1+b1 generating this signature.
Uptime: 01:52:55 up 7 days, 22:13, 5 users, load average: 0.28, 0.31, 0.43
Navigation:
[Reply to this message]
|