ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
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:6
doValidate(&$uri, $config, $context)
Definition: news.php:24
Validator for the components of a URI for a specific scheme.
Definition: URIScheme.php:6