ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
ToolFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Scope\Tool\Factory
;
21
22
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
23
29
class
ToolFactory
30
{
37
public
function
tool
(
IdentificationInterface
$identification) :
Tool
38
{
39
return
new
Tool
($identification);
40
}
41
46
public
function
treeTool
(
IdentificationInterface
$identification) :
TreeTool
47
{
48
return
new
TreeTool
($identification);
49
}
50
}
ILIAS\GlobalScreen\Scope\Tool\Factory\ToolFactory\tool
tool(IdentificationInterface $identification)
Returns you a Tool which can contain special features in s context.
Definition:
ToolFactory.php:37
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Scope\Tool\Factory\TreeTool
Class TreeTool.
Definition:
TreeTool.php:36
ILIAS\GlobalScreen\Scope\Tool\Factory\ToolFactory
Class ToolFactory This factory provides you all available types for MainMenu GlobalScreen Tools...
Definition:
ToolFactory.php:29
IdentificationInterface
ILIAS\GlobalScreen\Scope\Tool\Factory
Definition:
AbstractBaseTool.php:21
ILIAS\GlobalScreen\Scope\Tool\Factory\Tool
Class Tool.
Definition:
Tool.php:37
ILIAS\GlobalScreen\Scope\Tool\Factory\ToolFactory\treeTool
treeTool(IdentificationInterface $identification)
Definition:
ToolFactory.php:46
src
GlobalScreen
Scope
Tool
Factory
ToolFactory.php
Generated on Mon Sep 1 2025 21:01:46 for ILIAS by
1.8.13 (using
Doxyfile
)