ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
Page.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Wiki\Page
;
22
26
class
Page
27
{
28
protected
int
$id
;
29
protected
int
$wiki_id
;
30
protected
string
$title
;
31
protected
string
$lang
=
"-"
;
32
protected
bool
$blocked
=
false
;
33
protected
bool
$rating
=
false
;
34
protected
bool
$hide_adv_md
=
false
;
35
36
public
function
__construct
(
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
) {
45
$this->
id
=
$id
;
46
$this->wiki_id =
$wiki_id
;
47
$this->title =
$title
;
48
$this->lang =
$lang
;
49
$this->blocked =
$blocked
;
50
$this->rating =
$rating
;
51
$this->hide_adv_md =
$hide_adv_md
;
52
}
53
54
public
function
getId
():
int
55
{
56
return
$this->id
;
57
}
58
public
function
getWikiId
():
int
59
{
60
return
$this->wiki_id
;
61
}
62
public
function
getTitle
(): string
63
{
64
return
$this->title
;
65
}
66
public
function
getLanguage
(): string
67
{
68
return
$this->lang
;
69
}
70
public
function
getBlocked
(): bool
71
{
72
return
$this->blocked
;
73
}
74
public
function
getRating
(): bool
75
{
76
return
$this->rating
;
77
}
78
public
function
getHideAdvMetadata
(): bool
79
{
80
return
$this->hide_adv_md
;
81
}
82
83
}
ILIAS\Wiki\Page\Page\$rating
bool $rating
Definition:
Page.php:33
ILIAS\Wiki\Page\Page\$blocked
bool $blocked
Definition:
Page.php:32
ILIAS\Wiki\Page\Page\getHideAdvMetadata
getHideAdvMetadata()
Definition:
Page.php:78
ILIAS\Wiki\Page\Page\__construct
__construct(int $id, int $wiki_id, string $title, string $lang="-", bool $blocked=false, bool $rating=false, bool $hide_adv_md=false)
Definition:
Page.php:36
ILIAS\Wiki\Page\Page\getWikiId
getWikiId()
Definition:
Page.php:58
ILIAS\Wiki\Page\Page\$title
string $title
Definition:
Page.php:30
ILIAS\Wiki\Page\Page\getRating
getRating()
Definition:
Page.php:74
ILIAS\Wiki\Page\Page\$lang
string $lang
Definition:
Page.php:31
ILIAS\Wiki\Page\Page\getBlocked
getBlocked()
Definition:
Page.php:70
ILIAS\Wiki\Page\Page\getLanguage
getLanguage()
Definition:
Page.php:66
ILIAS\Wiki\Page\Page\$wiki_id
int $wiki_id
Definition:
Page.php:29
ILIAS\Wiki\Page
Definition:
Page.php:21
ILIAS\Wiki\Page\Page\getTitle
getTitle()
Definition:
Page.php:62
ILIAS\Wiki\Page\Page\getId
getId()
Definition:
Page.php:54
ILIAS\Wiki\Page\Page\$hide_adv_md
bool $hide_adv_md
Definition:
Page.php:34
ILIAS\Wiki\Page\Page
Wiki page.
Definition:
Page.php:26
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Wiki\Page\Page\$id
int $id
Definition:
Page.php:28
components
ILIAS
Wiki
Page
Page.php
Generated on Sun Aug 31 2025 23:04:08 for ILIAS by
1.8.13 (using
Doxyfile
)