ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilObjLegalDocumentsGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
27 public const TYPE = 'ldoc';
28
29 public function getType(): string
30 {
31 return self::TYPE;
32 }
33
34 public function executeCommand(): void
35 {
36 $this->error();
37 }
38
39 private function error(): void
40 {
41 throw new RuntimeException('Why are you on this page?');
42 }
43}
@ilCtrl_isCalledBy ilObjLegalDocumentsGUI: ilAdministrationGUI @ilCtrl_isCalledBy ilObjLegalDocuments...
getType()
Functions that must be overwritten.
New implementation of ilObjectGUI.