Esempio n. 1
0
 /**
  * @static
  */
 public static function initAutoloader()
 {
     $autoloader = \Zend_Loader_Autoloader::getInstance();
     $autoloader->registerNamespace('Logger');
     $autoloader->registerNamespace('Pimcore');
     $autoloader->registerNamespace('Sabre');
     $autoloader->registerNamespace('Net_');
     $autoloader->registerNamespace('Website');
     $autoloader->registerNamespace('Csv');
     $autoloader->registerNamespace('Search');
     $autoloader->registerNamespace('Whoops');
     $autoloader->registerNamespace('Google');
     $autoloader->registerNamespace('Symfony');
     // these are necessary to be backward compatible
     // so if e.g. plugins use the namespace Object but do not include them in their own autoloader definition (plugin.xml)
     $autoloader->registerNamespace('Tool');
     $autoloader->registerNamespace('Webservice');
     $autoloader->registerNamespace('Element');
     $autoloader->registerNamespace('Thumbnail');
     $autoloader->registerNamespace('Staticroute');
     $autoloader->registerNamespace('Redirect');
     $autoloader->registerNamespace('Dependency');
     $autoloader->registerNamespace('Schedule');
     $autoloader->registerNamespace('Translation');
     $autoloader->registerNamespace('Glossary');
     $autoloader->registerNamespace('Document');
     $autoloader->registerNamespace('Object');
     $autoloader->registerNamespace('Asset');
     $autoloader->registerNamespace('User');
     $autoloader->registerNamespace('Property');
     $autoloader->registerNamespace('Version');
     $autoloader->registerNamespace('Site');
     Tool::registerClassModelMappingNamespaces();
 }