ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\Wiki\Page\Page Class Reference

Wiki page. More...

+ Collaboration diagram for ILIAS\Wiki\Page\Page:

Public Member Functions

 __construct (int $id, int $wiki_id, string $title, string $lang="-", bool $blocked=false, bool $rating=false, bool $hide_adv_md=false)
 
 getId ()
 
 getWikiId ()
 
 getTitle ()
 
 getLanguage ()
 
 getBlocked ()
 
 getRating ()
 
 getHideAdvMetadata ()
 

Protected Attributes

int $id
 
int $wiki_id
 
string $title
 
string $lang = "-"
 
bool $blocked = false
 
bool $rating = false
 
bool $hide_adv_md = false
 

Detailed Description

Wiki page.

Definition at line 26 of file Page.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Wiki\Page\Page::__construct ( int  $id,
int  $wiki_id,
string  $title,
string  $lang = "-",
bool  $blocked = false,
bool  $rating = false,
bool  $hide_adv_md = false 
)

Definition at line 36 of file Page.php.

References ILIAS\Wiki\Page\Page\$blocked, ILIAS\Wiki\Page\Page\$hide_adv_md, ILIAS\Wiki\Page\Page\$id, ILIAS\Wiki\Page\Page\$lang, ILIAS\Wiki\Page\Page\$rating, ILIAS\Wiki\Page\Page\$title, and ILIAS\Wiki\Page\Page\$wiki_id.

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  }

Member Function Documentation

◆ getBlocked()

ILIAS\Wiki\Page\Page::getBlocked ( )

Definition at line 70 of file Page.php.

References ILIAS\Wiki\Page\Page\$blocked.

70  : bool
71  {
72  return $this->blocked;
73  }

◆ getHideAdvMetadata()

ILIAS\Wiki\Page\Page::getHideAdvMetadata ( )

Definition at line 78 of file Page.php.

References ILIAS\Wiki\Page\Page\$hide_adv_md.

78  : bool
79  {
80  return $this->hide_adv_md;
81  }

◆ getId()

ILIAS\Wiki\Page\Page::getId ( )

Definition at line 54 of file Page.php.

References ILIAS\Wiki\Page\Page\$id.

54  : int
55  {
56  return $this->id;
57  }

◆ getLanguage()

ILIAS\Wiki\Page\Page::getLanguage ( )

Definition at line 66 of file Page.php.

References ILIAS\Wiki\Page\Page\$lang.

66  : string
67  {
68  return $this->lang;
69  }

◆ getRating()

ILIAS\Wiki\Page\Page::getRating ( )

Definition at line 74 of file Page.php.

References ILIAS\Wiki\Page\Page\$rating.

74  : bool
75  {
76  return $this->rating;
77  }

◆ getTitle()

ILIAS\Wiki\Page\Page::getTitle ( )

Definition at line 62 of file Page.php.

References ILIAS\Wiki\Page\Page\$title.

62  : string
63  {
64  return $this->title;
65  }

◆ getWikiId()

ILIAS\Wiki\Page\Page::getWikiId ( )

Definition at line 58 of file Page.php.

References ILIAS\Wiki\Page\Page\$wiki_id.

58  : int
59  {
60  return $this->wiki_id;
61  }

Field Documentation

◆ $blocked

bool ILIAS\Wiki\Page\Page::$blocked = false
protected

Definition at line 32 of file Page.php.

Referenced by ILIAS\Wiki\Page\Page\__construct(), and ILIAS\Wiki\Page\Page\getBlocked().

◆ $hide_adv_md

bool ILIAS\Wiki\Page\Page::$hide_adv_md = false
protected

◆ $id

int ILIAS\Wiki\Page\Page::$id
protected

Definition at line 28 of file Page.php.

Referenced by ILIAS\Wiki\Page\Page\__construct(), and ILIAS\Wiki\Page\Page\getId().

◆ $lang

string ILIAS\Wiki\Page\Page::$lang = "-"
protected

Definition at line 31 of file Page.php.

Referenced by ILIAS\Wiki\Page\Page\__construct(), and ILIAS\Wiki\Page\Page\getLanguage().

◆ $rating

bool ILIAS\Wiki\Page\Page::$rating = false
protected

Definition at line 33 of file Page.php.

Referenced by ILIAS\Wiki\Page\Page\__construct(), and ILIAS\Wiki\Page\Page\getRating().

◆ $title

string ILIAS\Wiki\Page\Page::$title
protected

Definition at line 30 of file Page.php.

Referenced by ILIAS\Wiki\Page\Page\__construct(), and ILIAS\Wiki\Page\Page\getTitle().

◆ $wiki_id

int ILIAS\Wiki\Page\Page::$wiki_id
protected

Definition at line 29 of file Page.php.

Referenced by ILIAS\Wiki\Page\Page\__construct(), and ILIAS\Wiki\Page\Page\getWikiId().


The documentation for this class was generated from the following file: