ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
Target.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\Value
;
22
23
class
Target
24
{
29
public
function
__construct
(
private
$path
,
private
readonly
string
$command =
''
,
private
readonly array $query_params = [])
30
{
31
}
32
36
public
function
guiPath
()
37
{
38
return
$this->path
;
39
}
40
41
public
function
command
(): string
42
{
43
return
$this->command;
44
}
45
46
public
function
guiName
(): string
47
{
48
$path
= $this->
guiPath
();
49
return
is_array(
$path
) ?
$path
[count(
$path
) - 1] :
$path
;
50
}
51
55
public
function
queryParams
(): array
56
{
57
return
$this->query_params;
58
}
59
}
ILIAS\LegalDocuments\Value
Definition:
Criterion.php:21
ILIAS\LegalDocuments\Value\Target\guiName
guiName()
Definition:
Target.php:46
ILIAS\LegalDocuments\Value\Target\__construct
__construct(private $path, private readonly string $command='', private readonly array $query_params=[])
Definition:
Target.php:29
$path
$path
Definition:
ltiservices.php:29
ILIAS\LegalDocuments\Value\Target\command
command()
Definition:
Target.php:41
ILIAS\LegalDocuments\Value\Target
Definition:
Target.php:23
ILIAS\LegalDocuments\Value\Target\guiPath
guiPath()
Definition:
Target.php:36
ILIAS\LegalDocuments\Value\Target\queryParams
queryParams()
Definition:
Target.php:55
components
ILIAS
LegalDocuments
classes
Value
Target.php
Generated on Mon Sep 1 2025 23:03:24 for ILIAS by
1.8.13 (using
Doxyfile
)