PSR-2 reformatting PHPDoc corrections
[htmlpurifier.git] / library / HTMLPurifier / URIScheme / news.php
blob7490927d63fa1b1314ca2e830e151c507bc88a8e
1 <?php
3 /**
4 * Validates news (Usenet) as defined by generic RFC 1738
5 */
6 class HTMLPurifier_URIScheme_news extends HTMLPurifier_URIScheme
8 /**
9 * @type bool
11 public $browsable = false;
13 /**
14 * @type bool
16 public $may_omit_host = true;
18 /**
19 * @param HTMLPurifier_URI $uri
20 * @param HTMLPurifier_Config $config
21 * @param HTMLPurifier_Context $context
22 * @return bool
24 public function doValidate(&$uri, $config, $context)
26 $uri->userinfo = null;
27 $uri->host = null;
28 $uri->port = null;
29 $uri->query = null;
30 // typecode check needed on path
31 return true;
35 // vim: et sw=4 sts=4