Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/htmlpurifier/HTMLPurifier/URIFilter/DisableResources.php
Go to the documentation of this file.
00001 <?php
00002 
00003 class HTMLPurifier_URIFilter_DisableResources extends HTMLPurifier_URIFilter
00004 {
00005     public $name = 'DisableResources';
00006     public function filter(&$uri, $config, $context) {
00007         return !$context->get('EmbeddedURI', true);
00008     }
00009 }
00010 
00011 // vim: et sw=4 sts=4
 All Data Structures Namespaces Files Functions Variables Enumerations