Welcome Guest, Not a member yet? Register   Sign In
__autoload
#3

[eluser]Rick Jolly[/eluser]
Good question. I don't know what the most logical place would be. Obviously, an autoload function could be in any file that is included before the classes you wish to autoload. A hook is a fine solution if you are planning to use the autoload in all your applications (a system extension rather than an application-specific extension). The simplest method would be to put the autoload in index.php or config.php, but I'm not sure if that's the most logical or transparent place.


Messages In This Thread
__autoload - by El Forum - 10-02-2008, 07:49 AM
__autoload - by El Forum - 10-02-2008, 09:58 AM
__autoload - by El Forum - 10-02-2008, 10:25 AM
__autoload - by El Forum - 10-02-2008, 01:05 PM
__autoload - by El Forum - 10-02-2008, 01:45 PM
__autoload - by El Forum - 10-02-2008, 03:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB