HtmlPurifierStandalone.php

Go to the documentation of this file.
00001 <?php
00002 
00033 class Robo47_Loader_Autoloader_HtmlPurifierStandalone
00034 implements Zend_Loader_Autoloader_Interface
00035 {
00036 
00040     protected $_loaded = false;
00041 
00045     public function __construct()
00046     {
00047         if (!class_exists('HTMLPurifier', false)) {
00048             require_once 'HTMLPurifier.standalone.php';
00049         }
00050     }
00051 
00058     public function autoload($class)
00059     {
00060         return HTMLPurifier_Bootstrap::autoload($class);
00061     }
00062 }