[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/htmlpurifier/library/ -> HTMLPurifier.autoload.php (source)

   1  <?php
   2  
   3  /**
   4   * @file
   5   * Convenience file that registers autoload handler for HTML Purifier.
   6   */
   7  
   8  if (function_exists('spl_autoload_register') && function_exists('spl_autoload_unregister')) {
   9      // We need unregister for our pre-registering functionality
  10      HTMLPurifier_Bootstrap::registerAutoload();
  11      if (function_exists('__autoload')) {
  12          // Be polite and ensure that userland autoload gets retained
  13          spl_autoload_register('__autoload');
  14      }
  15  } elseif (!function_exists('__autoload')) {
  16      function __autoload($class) {
  17          return HTMLPurifier_Bootstrap::autoload($class);
  18      }
  19  }
  20  
  21  // vim: et sw=4 sts=4


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1