function _sheetnode_google_autoload in Sheetnode 7
Same name and namespace in other branches
- 6 modules/sheetnode_google/sheetnode_google.module \_sheetnode_google_autoload()
- 7.2 modules/sheetnode_google/sheetnode_google.module \_sheetnode_google_autoload()
Autoload callback.
1 string reference to '_sheetnode_google_autoload'
- sheetnode_google_init in modules/
sheetnode_google/ sheetnode_google.module - Implementation of hook_init().
File
- modules/
sheetnode_google/ sheetnode_google.module, line 95 - Module file for the sheetnode_google module. This extends sheetnodes to enable importing of Google sheets.
Code
function _sheetnode_google_autoload($classname) {
if (strpos($classname, 'Zend_') === 0) {
include_once 'Zend/Loader.php';
try {
Zend_Loader::loadClass($classname);
} catch (Zend_Exception $e) {
// do nothing.
}
}
}