autoload
Getting APC to play nice with spl_autoload_register
I am using the Zend Autoloader to load Zend classes for integrating Zend_AMF with my application. Everything was working perfectly until I installed APC 3.1.9 and enabled it.[详细]
2023-04-13 03:52 分类:问答Troubleshooting Zend Framework Autoloader
Can anyone recommend a way to troubleshoot why a particular class isn\'t being loaded by the autoloader? I\'m using namespace autoloading as such:[详细]
2023-04-12 17:16 分类:问答Recursively including all model subdirectories
How do you load all directories recursively in the models and lib directories?In application.rb, I have the lines:[详细]
2023-04-12 12:55 分类:问答PHP newbie - PHP Classes autoloading and Securing
I am interested in learning autoloading, but new to PHP. I am reading the book \"PHP in Action\" which writes the autoload method like[详细]
2023-04-12 06:24 分类:问答php autoload: duplication of db connection
Why does this autoload class duplicate the db connection? class autoloader { private $directory_name; public function __construct($directory_name)[详细]
2023-04-12 03:09 分类:问答What is Autoloading; How do you use spl_autoload, __autoload and spl_autoload_register?
I am learning advanced PHP standards and trying to implement new and useful methods. Earlier I was using __autoload just to escape including multiple files on each page, but recently I have seen a tip[详细]
2023-04-11 05:36 分类:问答Smarty 3 and spl_autoload_register
I know I need to use spl_autoload_register with Smarty 3. I am registering my autoload function after smarty initializes. But smarty is trying to use my own autoload function instead of the smartyAuto[详细]
2023-04-09 06:21 分类:问答Is UNSET() compatible with autoload
Using Amazon MWS code config.ini.php to set up classes for MarketplaceWebServices. This used autoload defintions to create variables using new.[详细]
2023-04-07 04:17 分类:问答Load the iphone app automatically when phone boots
I am doing a tracking kind of application for internal use of an organization and do not wish to submit it to app store.[详细]
2023-04-06 17:41 分类:问答PHPUnit - test autoloader class
I need to create an autoloader to my 开发者_如何转开发application. I don\'t want to depend on a file in the filesystem, so how do I mock a new call? Or how do you test an autoloader class?[详细]
2023-04-06 09:34 分类:问答