ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
LinkFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Editor\Http
;
22
23
use
ILIAS\Data\Factory
as
DataFactory
;
24
25
class
LinkFactory
implements
LinkFactoryInterface
26
{
27
protected \ilCtrlInterface
$ctrl
;
28
protected
DataFactory
$data_factory
;
29
33
protected
array
$parameters
= [];
34
protected
Command
$command
;
35
36
public
function
__construct
(
37
\
ilCtrlInterface
$ctrl,
38
DataFactory
$data_factory
39
) {
40
$this->
ctrl
=
$ctrl
;
41
$this->data_factory =
$data_factory
;
42
}
43
44
public
function
custom
(
Command
$command):
LinkBuilderInterface
45
{
46
return
new
LinkBuilder
($this->
ctrl
, $this->data_factory, $command);
47
}
48
}
ILIAS\MetaData\Editor\Http
Definition:
Command.php:21
ILIAS\MetaData\Editor\Http\LinkFactory\custom
custom(Command $command)
Definition:
LinkFactory.php:44
LinkFactory
ILIAS\MetaData\Editor\Http\LinkBuilder
Definition:
LinkBuilder.php:26
ILIAS\MetaData\Editor\Http\Command
Command
Definition:
Command.php:23
ILIAS\MetaData\Editor\Http\LinkFactory\$data_factory
DataFactory $data_factory
Definition:
LinkFactory.php:28
ILIAS\MetaData\Editor\Http\LinkBuilderInterface
Definition:
LinkBuilderInterface.php:25
ILIAS\MetaData\Editor\Http\LinkFactory\$parameters
array $parameters
Definition:
LinkFactory.php:33
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:63
ILIAS\MetaData\Editor\Http\LinkFactory\$ctrl
ilCtrlInterface $ctrl
Definition:
LinkFactory.php:27
Factory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\MetaData\Editor\Http\LinkFactoryInterface
Definition:
LinkFactoryInterface.php:23
ILIAS\MetaData\Editor\Http\LinkFactory\$command
Command $command
Definition:
LinkFactory.php:34
ILIAS\MetaData\Editor\Http\LinkFactory\__construct
__construct(\ilCtrlInterface $ctrl, DataFactory $data_factory)
Definition:
LinkFactory.php:36
ilCtrlInterface
components
ILIAS
MetaData
classes
Editor
Http
LinkFactory.php
Generated on Sun Aug 31 2025 23:03:22 for ILIAS by
1.8.13 (using
Doxyfile
)