You are here

function _sheetnode_google_autoload in Sheetnode 7.2

Same name and namespace in other branches
  1. 6 modules/sheetnode_google/sheetnode_google.module \_sheetnode_google_autoload()
  2. 7 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 108
Module file for the sheetnode_google module.

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.
    }
  }
}