ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
class.ilUnitTestPageObject.php
Go to the documentation of this file.
1<?php
2
23{
24 public function getParentType(): string
25 {
26 return "unit";
27 }
28
29 public function initPageConfig(): void
30 {
32 }
33
34 protected function getIliasAbsolutePath(): string
35 {
36 return ".";
37 }
38
39 public function update(bool $a_validate = true, bool $a_no_history = false): array|bool
40 {
41 return true;
42 }
43
44 public function getLangVarXMLForValueForTesting(string $var, string $val): string
45 {
46 return $this->getLangVarXMLForValue($var, $val);
47 }
48
49 public function getCharacteristicLangVarXMLForTesting(string $type, string $char, string $txt): string
50 {
51 return $this->getCharacteristicLangVarXML($type, $char, $txt);
52 }
53}
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
getCharacteristicLangVarXML(string $type, string $char, string $txt)
setPageConfig(ilPageConfig $a_val)
getLangVarXMLForValue(string $var, string $val)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
update(bool $a_validate=true, bool $a_no_history=false)
update complete page content in db (dom xml content is used)
getCharacteristicLangVarXMLForTesting(string $type, string $char, string $txt)
getLangVarXMLForValueForTesting(string $var, string $val)