Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.9.2
-
Component/s: Zend_Loader
-
Labels:None
Description
Add an spl_autoload()-compatible autoload() method to the Zend class to make a drop-in callback for autoloading possible. Usage should be:
spl_autoload_register(array('Zend', 'autoload'));
This can be accomplished by wrapping calls to Zend::loadClass() in a try/catch block, and returning false if an exception has bee caught.
Assign to Matthew.