Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/htmlpurifier/HTMLPurifier/URIScheme/news.php
Go to the documentation of this file.
00001 <?php
00002 
00006 class HTMLPurifier_URIScheme_news extends HTMLPurifier_URIScheme {
00007 
00008     public $browsable = false;
00009     public $may_omit_host = true;
00010 
00011     public function doValidate(&$uri, $config, $context) {
00012         $uri->userinfo = null;
00013         $uri->host     = null;
00014         $uri->port     = null;
00015         $uri->query    = null;
00016         // typecode check needed on path
00017         return true;
00018     }
00019 
00020 }
00021 
00022 // vim: et sw=4 sts=4
 All Data Structures Namespaces Files Functions Variables Enumerations