ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
mailto.php
Go to the documentation of this file.
1 <?php
2 
3 // VERY RELAXED! Shouldn't cause problems, not even Firefox checks if the
4 // email is valid, but be careful!
5 
13 {
17  public $browsable = false;
18 
22  public $may_omit_host = true;
23 
30  public function doValidate(&$uri, $config, $context)
31  {
32  $uri->userinfo = null;
33  $uri->host = null;
34  $uri->port = null;
35  // we need to validate path against RFC 2368's addr-spec
36  return true;
37  }
38 }
39 
40 // vim: et sw=4 sts=4