ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
HTMLPurifier.autoload.php
Go to the documentation of this file.
1<?php
2
9if (function_exists('spl_autoload_register') && function_exists('spl_autoload_unregister')) {
10 // We need unregister for our pre-registering functionality
12 if (function_exists('__autoload')) {
13 // Be polite and ensure that userland autoload gets retained
14 spl_autoload_register('__autoload');
15 }
16} elseif (!function_exists('__autoload')) {
17 function __autoload($class)
18 {
20 }
21}
22
23if (ini_get('zend.ze1_compatibility_mode')) {
24 trigger_error("HTML Purifier is not compatible with zend.ze1_compatibility_mode; please turn it off", E_USER_ERROR);
25}
26
27// vim: et sw=4 sts=4
static registerAutoload()
"Pre-registers" our autoloader on the SPL stack.
Definition: Bootstrap.php:79
static autoload($class)
Autoload function for HTML Purifier.
Definition: Bootstrap.php:38