ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
news.php
Go to the documentation of this file.
1
<?
php
2
6
class
HTMLPurifier_URIScheme_news
extends
HTMLPurifier_URIScheme
7
{
11
public
$browsable
=
false
;
12
16
public
$may_omit_host
=
true
;
17
24
public
function
doValidate
(&$uri,
$config
, $context)
25
{
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
;
32
}
33
}
34
35
// vim: et sw=4 sts=4
php
An exception for terminatinating execution or to throw for unit testing.
HTMLPurifier_URIScheme_news
Validates news (Usenet) as defined by generic RFC 1738.
Definition:
news.php:7
HTMLPurifier_URIScheme_news\doValidate
doValidate(&$uri, $config, $context)
Definition:
news.php:24
HTMLPurifier_URIScheme_news\$browsable
$browsable
@type bool
Definition:
news.php:11
HTMLPurifier_URIScheme_news\$may_omit_host
$may_omit_host
@type bool
Definition:
news.php:16
HTMLPurifier_URIScheme
Validator for the components of a URI for a specific scheme.
Definition:
URIScheme.php:7
$config
$config
Definition:
flush-definition-cache.php:23
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
URIScheme
news.php
Generated on Sat Oct 4 2025 19:00:53 for ILIAS by
1.9.4 (using
Doxyfile
)