ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilCtrlCommandClass2TestGUI.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /* Copyright (c) 2021 Thibeau Fuhrer <thf@studer-raimann.ch> Extended GPL, see docs/LICENSE */
6 
15 {
16  public function executeCommand(): string
17  {
18  return self::class;
19  }
20 
21  public function getHTML(array $args = null): string
22  {
23  if (!empty($args)) {
24  return $args[array_key_first($args)];
25  }
26 
27  return 'foo';
28  }
29 }
Class ilCtrlCommandClass2TestGUI.