ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalDataService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Wiki;
22
27
32{
33 public function __construct()
34 {
35 }
36
37 public function page(
38 int $id,
39 int $wiki_id,
40 string $title,
41 string $lang = "-",
42 bool $blocked = false,
43 bool $rating = false,
44 bool $hide_adv_md = false
45 ): Page {
46 return new Page(
47 $id,
48 $wiki_id,
49 $title,
50 $lang,
51 $blocked,
52 $rating,
53 $hide_adv_md
54 );
55 }
56
57 public function pageInfo(
58 int $id,
59 string $lang,
60 string $title,
61 int $last_change_user,
62 string $last_change,
63 int $create_user = 0,
64 string $created = "",
65 int $view_cnt = 0,
66 int $old_nr = 0
67 ): PageInfo {
68 return new PageInfo(
69 $id,
70 $lang,
71 $title,
72 $last_change_user,
73 $last_change,
74 $create_user,
75 $created,
76 $view_cnt,
77 $old_nr
78 );
79 }
80
81 public function importantPage(
82 int $id,
83 int $order,
84 int $indent
85 ): ImportantPage {
87 $id,
88 $order,
89 $indent
90 );
91 }
92
93 public function settings(
94 int $id,
95 string $startpage,
96 string $short_title,
97 bool $rating_overall,
98 bool $rating,
99 bool $rating_as_block,
100 bool $rating_for_new_pages,
101 bool $rating_categories,
102 bool $public_notes,
103 string $introduction,
104 bool $page_toc,
105 bool $link_metadata_values,
106 bool $empty_page_template
107 ): Settings {
108 return new Settings(
109 $id,
110 $startpage,
111 $short_title,
112 $rating_overall,
113 $rating,
114 $rating_as_block,
115 $rating_for_new_pages,
116 $rating_categories,
117 $public_notes,
118 $introduction,
119 $page_toc,
120 $link_metadata_values,
121 $empty_page_template
122 );
123 }
124
125}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
Repository internal data service.
page(int $id, int $wiki_id, string $title, string $lang="-", bool $blocked=false, bool $rating=false, bool $hide_adv_md=false)
importantPage(int $id, int $order, int $indent)
settings(int $id, string $startpage, string $short_title, bool $rating_overall, bool $rating, bool $rating_as_block, bool $rating_for_new_pages, bool $rating_categories, bool $public_notes, string $introduction, bool $page_toc, bool $link_metadata_values, bool $empty_page_template)
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)
Wiki page info.
Definition: PageInfo.php:27
Wiki page.
Definition: Page.php:27
return['delivery_method'=> 'php',]
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...
$lang
Definition: xapiexit.php:25