ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ ilDoc Overview
AssignmentFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Repository\Utilities\Queries\Assignments
;
22
23
use
ILIAS\MetaData\Repository\Dictionary\TagInterface
;
24
25
class
AssignmentFactory
implements
AssignmentFactoryInterface
26
{
27
public
function
action
(
28
Action
$action,
29
TagInterface
$tag,
30
string
$value =
''
31
):
ActionAssignmentInterface
{
32
return
new
ActionAssignment
($action, $tag, $value);
33
}
34
35
public
function
row
(
36
string
$table,
37
int
$id
,
38
int
$id_from_parent_table
39
):
AssignmentRowInterface
{
40
return
new
AssignmentRow
($table, $id, $id_from_parent_table);
41
}
42
}
ILIAS\MetaData\Repository\Utilities\Queries\Assignments\AssignmentRowInterface
Definition:
AssignmentRowInterface.php:23
ILIAS\MetaData\Repository\Dictionary\TagInterface
Definition:
TagInterface.php:25
ILIAS\MetaData\Repository\Utilities\Queries\Assignments
Definition:
Action.php:21
ILIAS\MetaData\Repository\Utilities\Queries\Assignments\AssignmentRow
Definition:
AssignmentRow.php:23
ILIAS\MetaData\Repository\Utilities\Queries\Assignments\AssignmentFactory\row
row(string $table, int $id, int $id_from_parent_table)
Definition:
AssignmentFactory.php:35
ILIAS\MetaData\Repository\Utilities\Queries\Assignments\AssignmentFactoryInterface
Definition:
AssignmentFactoryInterface.php:25
ILIAS\MetaData\Repository\Utilities\Queries\Assignments\ActionAssignment
Definition:
ActionAssignment.php:25
ILIAS\MetaData\Repository\Utilities\Queries\Assignments\ActionAssignmentInterface
Definition:
ActionAssignmentInterface.php:25
ILIAS\MetaData\Repository\Utilities\Queries\Assignments\AssignmentFactory
Definition:
AssignmentFactory.php:25
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
TagInterface
ILIAS\MetaData\Repository\Utilities\Queries\Assignments\AssignmentFactory\action
action(Action $action, TagInterface $tag, string $value='')
Definition:
AssignmentFactory.php:27
ILIAS\MetaData\Repository\Utilities\Queries\Assignments\Action
Action
Definition:
Action.php:23
components
ILIAS
MetaData
classes
Repository
Utilities
Queries
Assignments
AssignmentFactory.php
Generated on Tue Sep 2 2025 23:03:30 for ILIAS by
1.8.13 (using
Doxyfile
)