ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Group.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28
29class 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}
Inspired by: Laminas escaper: https://github.com/laminas/laminas-escaper.
Inspired by: Laminas escaper: https://github.com/laminas/laminas-escaper.
This class expects a valid UTF-8 string.
Definition: Json.php:35
Inspired by: Laminas escaper: https://github.com/laminas/laminas-escaper.
Definition: URL.php:36
A transformation is a function from one datatype to another.