ILIAS
trunk Revision v12.0_alpha-1541-g23eaa5e013d
◀ ilDoc Overview
Group.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Refinery\URI
;
22
23
use
ILIAS\Refinery\Transformation
;
24
use
ILIAS\Data\QR\ErrorCorrectionLevel
;
25
use
ILIAS\Refinery\URI\Transformation\ToStringTransformation
;
26
use
ILIAS\Refinery\URI\Transformation\ToSvgQrCodeTransformation
;
27
use
ILIAS\Refinery\URI\Transformation\FromSvgTransformation
;
28
29
class
Group
30
{
31
public
function
toString
():
Transformation
32
{
33
return
new
ToStringTransformation
();
34
}
35
36
public
function
toSvgQrCode
(
37
ErrorCorrectionLevel
$error_correction_level = ErrorCorrectionLevel::MEDIUM,
38
int
$size_in_px = 400,
39
):
Transformation
{
40
return
new
ToSvgQrCodeTransformation
($error_correction_level, $size_in_px);
41
}
42
43
public
function
fromSvg
():
Transformation
44
{
45
return
new
FromSvgTransformation
();
46
}
47
}
ILIAS\Refinery\URI\Group
Definition:
Group.php:30
ILIAS\Refinery\URI\Group\fromSvg
fromSvg()
Definition:
Group.php:43
ILIAS\Refinery\URI\Group\toString
toString()
Definition:
Group.php:31
ILIAS\Refinery\URI\Group\toSvgQrCode
toSvgQrCode(ErrorCorrectionLevel $error_correction_level=ErrorCorrectionLevel::MEDIUM, int $size_in_px=400,)
Definition:
Group.php:36
ILIAS\Refinery\URI\Transformation\FromSvgTransformation
The {.
Definition:
FromSvgTransformation.php:32
ILIAS\Refinery\URI\Transformation\ToStringTransformation
Definition:
ToStringTransformation.php:30
ILIAS\Refinery\URI\Transformation\ToSvgQrCodeTransformation
Definition:
ToSvgQrCodeTransformation.php:31
return
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
delivery_method.php:21
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:35
ILIAS\Data\QR\ErrorCorrectionLevel
ErrorCorrectionLevel
Error correction levels as defined by ISO/IEC 18004.
Definition:
ErrorCorrectionLevel.php:33
ILIAS\Refinery\URI
Definition:
Group.php:21
components
ILIAS
Refinery
src
URI
Group.php
Generated on Thu Jun 4 2026 23:04:27 for ILIAS by
1.9.4 (using
Doxyfile
)