ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilUnitTestPageManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
25{
27
28 public function __construct()
29 {
30 }
31
32 public function mockGet(
33 ilPageObject $page_object
34 ) {
35 $this->test_get = $page_object;
36 }
37
38 public function get(
39 string $parent_type,
40 int $id = 0,
41 int $old_nr = 0,
42 string $lang = "-"
43 ): ilPageObject {
44 return $this->test_get;
45 }
46}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
mockGet(ilPageObject $page_object)
$lang
Definition: xapiexit.php:25