|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Wiki page template. More...
Collaboration diagram for ilWikiPageTemplate:Public Member Functions | |
| __construct ($a_wiki_id) | |
| Constructor. More... | |
| getAllInfo ($a_type=self::TYPE_ALL) | |
| Get all info. More... | |
| save ($a_id, $a_new_pages=0, $a_add_to_page=0) | |
| Add wiki page template. More... | |
| remove ($a_id) | |
| Remove template status of a page. More... | |
| isPageTemplate ($a_id) | |
| Is page set as template? More... | |
Data Fields | |
| const | TYPE_ALL = 0 |
| const | TYPE_NEW_PAGES = 1 |
| const | TYPE_ADD_TO_PAGE = 2 |
Protected Attributes | |
| $wiki_id | |
| $ilDB | |
| ilWikiPageTemplate::__construct | ( | $a_wiki_id | ) |
Constructor.
| int | $a_wiki_id | wiki id |
Definition at line 26 of file class.ilWikiPageTemplate.php.
References $ilDB.
| ilWikiPageTemplate::getAllInfo | ( | $a_type = self::TYPE_ALL | ) |
Get all info.
Definition at line 37 of file class.ilWikiPageTemplate.php.
References $a_type.
| ilWikiPageTemplate::isPageTemplate | ( | $a_id | ) |
Is page set as template?
| int | $a_id | wiki page id |
Definition at line 118 of file class.ilWikiPageTemplate.php.
| ilWikiPageTemplate::remove | ( | $a_id | ) |
Remove template status of a page.
| int | $a_id | wiki page id |
Definition at line 104 of file class.ilWikiPageTemplate.php.
| ilWikiPageTemplate::save | ( | $a_id, | |
$a_new_pages = 0, |
|||
$a_add_to_page = 0 |
|||
| ) |
Add wiki page template.
| int | $a_id | wiki page id |
Definition at line 67 of file class.ilWikiPageTemplate.php.
|
protected |
Definition at line 19 of file class.ilWikiPageTemplate.php.
Referenced by __construct().
|
protected |
Definition at line 18 of file class.ilWikiPageTemplate.php.
| const ilWikiPageTemplate::TYPE_ADD_TO_PAGE = 2 |
Definition at line 16 of file class.ilWikiPageTemplate.php.
Referenced by ilWikiPage\getContentTemplates().
| const ilWikiPageTemplate::TYPE_ALL = 0 |
Definition at line 14 of file class.ilWikiPageTemplate.php.
| const ilWikiPageTemplate::TYPE_NEW_PAGES = 1 |
Definition at line 15 of file class.ilWikiPageTemplate.php.
Referenced by ilObjWiki\createWikiPage(), ilObjWiki\getTemplateSelectionOnCreation(), and ilObjWikiGUI\initTemplateSelectionForm().