4include_once(
"Services/Block/classes/class.ilBlockGUI.php");
28 $lng->loadLanguageModule(
"wiki");
31 $this->
setTitle($lng->txt(
"wiki_quick_navigation"));
32 $this->allow_moving =
false;
70 $next_class =
$ilCtrl->getNextClass();
87 $this->pageob = $a_pageob;
107 return parent::getHTML();
117 $tpl =
new ilTemplate(
"tpl.wiki_side_block_content.html",
true,
true,
"Modules/Wiki");
123 "txt" =>
$lng->txt(
"wiki_start_page"),
124 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"gotoStartPage")
129 "txt" =>
$lng->txt(
"wiki_all_pages"),
130 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"allPages")
135 "txt" =>
$lng->txt(
"wiki_new_pages"),
136 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"newPages")
141 "txt" =>
$lng->txt(
"wiki_popular_pages"),
142 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"popularPages")
147 "txt" =>
$lng->txt(
"wiki_orphaned_pages"),
148 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"orphanedPages")
153 "txt" =>
$lng->txt(
"wiki_recent_changes"),
154 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"recentChanges")
157 foreach ($actions as $a)
159 $tpl->setCurrentBlock(
"action");
160 $tpl->setVariable(
"HREF", $a[
"href"]);
161 $tpl->setVariable(
"TXT", $a[
"txt"]);
162 $tpl->parseCurrentBlock();
164 $tpl->touchBlock(
"item");
This class represents a block method of a block.
setDataSection($a_content)
Call this from overwritten fillDataSection(), if standard row based data is not used.
setTitle($a_title)
Set Title.
setEnableNumInfo($a_enablenuminfo)
Set Enable Item Number Info.
special template class to simplify handling of ITX/PEAR
BlockGUI class for wiki sideblock.
fillDataSection()
Fill data section.
getHTML()
Get bloch HTML code.
static isRepositoryObject()
Is this a repository object.
__construct()
Constructor.
setPageObject($a_pageob)
Set Page Object.
& executeCommand()
execute command
getPageObject()
Get Page Object.
static getScreenMode()
Get Screen Mode for current command.
static getBlockType()
Get block type.