ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
ToolFactory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Tool\Factory
;
22
23
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
24
30
class
ToolFactory
31
{
38
public
function
tool
(
IdentificationInterface
$identification):
Tool
39
{
40
return
new
Tool
($identification);
41
}
42
47
public
function
treeTool
(
IdentificationInterface
$identification):
TreeTool
48
{
49
return
new
TreeTool
($identification);
50
}
51
}
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:38
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Scope\Tool\Factory\TreeTool
Definition:
TreeTool.php:35
ILIAS\GlobalScreen\Scope\Tool\Factory\ToolFactory
Class ToolFactory This factory provides you all available types for MainMenu GlobalScreen Tools...
Definition:
ToolFactory.php:30
IdentificationInterface
ILIAS\GlobalScreen\Scope\Tool\Factory
Definition:
AbstractBaseTool.php:21
ILIAS\GlobalScreen\Scope\Tool\Factory\Tool
Class Tool.
Definition:
Tool.php:38
ILIAS\GlobalScreen\Scope\Tool\Factory\ToolFactory\treeTool
treeTool(IdentificationInterface $identification)
Definition:
ToolFactory.php:47
components
ILIAS
GlobalScreen
src
Scope
Tool
Factory
ToolFactory.php
Generated on Wed Sep 3 2025 23:03:08 for ILIAS by
1.8.13 (using
Doxyfile
)