ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
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['3gp', '7z', 'ai', 'aif', 'aifc', 'aiff', 'au', 'arw', 'avi', 'backup', 'bak', 'bas', 'bpmn', 'bpmn2', 'bmp', 'bib', 'bibtex', 'bz', 'bz2', 'c', 'c++', 'cc', 'cct', 'cdf', 'cer', 'class', 'cls', 'conf', 'cpp', 'crt', 'crs', 'crw', 'cr2', 'css', 'cst', 'csv', 'cur', 'db', 'dcr', 'des', 'dng', 'doc', 'docx', 'dot', 'dotx', 'dtd', 'dvi', 'el', 'eps', 'epub', 'f', 'f77', 'f90', 'flv', 'for', 'g3', 'gif', 'gl', 'gan', 'ggb', 'gsd', 'gsm', 'gtar', 'gz', 'gzip', 'h', 'hpp', 'htm', 'html', 'htmls', 'ibooks', 'ico', 'ics', 'ini', 'ipynb', 'java', 'jbf', 'jpeg', 'jpg', 'js', 'jsf', 'jso', 'json', 'latex', 'lang', 'less', 'log', 'lsp', 'ltx', 'm1v', 'm2a', 'm2v', 'm3u', 'm4a', 'm4v', 'markdown', 'm', 'mat', 'md', 'mdl', 'mdown', 'mid', 'min', 'midi', 'mobi', 'mod', 'mov', 'movie', 'mp2', 'mp3', 'mp4', 'mpa', 'mpeg', 'mpg', 'mph', 'mpga', 'mpp', 'mpt', 'mpv', 'mpx', 'mv', 'mw', 'mv4', 'nb', 'nbp', 'nef', 'nif', 'niff', 'obj', 'obm', 'odt', 'ods', 'odp', 'odg', 'odf', 'oga', 'ogg', 'ogv', 'old', 'p', 'pas', 'pbm', 'pcl', 'pct', 'pcx', 'pdf', 'pgm', 'pic', 'pict', 'png', 'por', 'pov', 'project', 'properties', 'ppa', 'ppm', 'pps', 'ppsx', 'ppt', 'pptx', 'ppz', 'ps', 'psd', 'pwz', 'qt', 'qtc', 'qti', 'qtif', 'r', 'ra', 'ram', 'rar', 'rast', 'rda', 'rev', 'rexx', 'ris', 'rf', 'rgb', 'rm', 'rmd', 'rmi', 'rmm', 'rmp', 'rt', 'rtf', 'rtx', 'rv', 's', 's3m', 'sav', 'sbs', 'sec', 'sdml', 'sgm', 'sgml', 'smi', 'smil', 'srt', 'sps', 'spv', 'stl', 'svg', 'swa', 'swf', 'swz', 'tar', 'tex', 'texi', 'texinfo', 'text', 'tgz', 'tif', 'tiff', 'ttf', 'txt', 'tmp', 'uvproj', 'vdf', 'vimeo', 'viv', 'vivo', 'vrml', 'vsdx', 'vtt', 'wav', 'webm', 'wmv', 'wmx', 'wmz', 'woff', 'wwd', 'xhtml', 'xif', 'xls', 'xlsx', 'xmind', 'xml', 'xsl', 'xsd', 'zip']
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...