ILIAS  release_8 Revision v8.24
ToolFactory.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
21
23
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}
Class ToolFactory This factory provides you all available types for MainMenu GlobalScreen Tools.
Definition: ToolFactory.php:30
tool(IdentificationInterface $identification)
Returns you a Tool which can contain special features in s context.
Definition: ToolFactory.php:37
treeTool(IdentificationInterface $identification)
Definition: ToolFactory.php:46
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...