ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.InternalDataService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Wiki;
22 
26 
31 {
32  public function __construct()
33  {
34  }
35 
36  public function page(
37  int $id,
38  int $wiki_id,
39  string $title,
40  string $lang = "-",
41  bool $blocked = false,
42  bool $rating = false,
43  bool $hide_adv_md = false
44  ): Page {
45  return new Page(
46  $id,
47  $wiki_id,
48  $title,
49  $lang,
50  $blocked,
51  $rating,
52  $hide_adv_md
53  );
54  }
55 
56  public function pageInfo(
57  int $id,
58  string $lang,
59  string $title,
60  int $last_change_user,
61  string $last_change,
62  int $create_user = 0,
63  string $created = "",
64  int $view_cnt = 0,
65  int $old_nr = 0
66  ): PageInfo {
67  return new PageInfo(
68  $id,
69  $lang,
70  $title,
71  $last_change_user,
72  $last_change,
73  $create_user,
74  $created,
75  $view_cnt,
76  $old_nr
77  );
78  }
79 
80  public function importantPage(
81  int $id,
82  int $order,
83  int $indent
84  ): ImportantPage {
85  return new ImportantPage(
86  $id,
87  $order,
88  $indent
89  );
90  }
91 }
importantPage(int $id, int $order, int $indent)
Wiki page info.
Definition: PageInfo.php:26
page(int $id, int $wiki_id, string $title, string $lang="-", bool $blocked=false, bool $rating=false, bool $hide_adv_md=false)
pageInfo(int $id, string $lang, string $title, int $last_change_user, string $last_change, int $create_user=0, string $created="", int $view_cnt=0, int $old_nr=0)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$lang
Definition: xapiexit.php:26
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
Wiki page.
Definition: Page.php:26
int $created
Timestamp for when the object was created.
Definition: System.php:151