ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
news.php
Go to the documentation of this file.
1<?php
2
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
Validates news (Usenet) as defined by generic RFC 1738.
Definition: news.php:7
doValidate(&$uri, $config, $context)
Definition: news.php:24
$may_omit_host
@type bool
Definition: news.php:16
Validator for the components of a URI for a specific scheme.
Definition: URIScheme.php:7