ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Group.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
28 
29 class Group
30 {
32  {
33  return new HTMLAttributeValue();
34  }
35 
37  {
38  return new HTMLSpecialCharsAsEntities();
39  }
40 
41  public function json(): Transformation
42  {
43  return new Json();
44  }
45 
46  public function url(): Transformation
47  {
48  return new URL();
49  }
50 }
This class expects a valid UTF-8 string.
Definition: Json.php:34
Inspired by: Laminas escaper: https://github.com/laminas/laminas-escaper.
Inspired by: Laminas escaper: https://github.com/laminas/laminas-escaper.
A transformation is a function from one datatype to another.
Inspired by: Laminas escaper: https://github.com/laminas/laminas-escaper.
Definition: URL.php:35