ILIAS
Release_5_0_x_branch Revision 61816
|
Wiki page template. More...
Public Member Functions | |
__construct ($a_wiki_id) | |
Constructor. | |
getAllInfo ($a_type=self::TYPE_ALL) | |
Get all info. | |
save ($a_id, $a_new_pages=0, $a_add_to_page=0) | |
Add wiki page template. | |
remove ($a_id) | |
Remove template status of a page. | |
isPageTemplate ($a_id) | |
Is page set as template? |
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.
Referenced by ilObjWikiGUI\initTemplateSelectionForm().
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.
Referenced by ilWikiPageTemplateGUI\remove(), and ilWikiPageTemplateGUI\removePageTemplateFromPageAction().
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.
Referenced by ilWikiPageTemplateGUI\add(), ilWikiPageTemplateGUI\addPageTemplateFromPageAction(), and ilWikiPageTemplateGUI\saveTemplateSettings().
|
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().