4include_once(
"Services/Block/classes/class.ilBlockGUI.php");
30 $lng->loadLanguageModule(
"wiki");
33 $this->
setTitle($lng->txt(
"wiki_quick_navigation"));
34 $this->allow_moving =
false;
72 $next_class =
$ilCtrl->getNextClass();
89 $this->pageob = $a_pageob;
109 return parent::getHTML();
119 $tpl =
new ilTemplate(
"tpl.wiki_side_block_content.html",
true,
true,
"Modules/Wiki");
125 "txt" =>
$lng->txt(
"wiki_start_page"),
126 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"gotoStartPage")
131 "txt" =>
$lng->txt(
"wiki_all_pages"),
132 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"allPages")
137 "txt" =>
$lng->txt(
"wiki_new_pages"),
138 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"newPages")
143 "txt" =>
$lng->txt(
"wiki_popular_pages"),
144 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"popularPages")
149 "txt" =>
$lng->txt(
"wiki_orphaned_pages"),
150 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"orphanedPages")
155 "txt" =>
$lng->txt(
"wiki_recent_changes"),
156 "href" =>
$ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"recentChanges")
159 foreach ($actions as $a)
161 $tpl->setCurrentBlock(
"action");
162 $tpl->setVariable(
"HREF", $a[
"href"]);
163 $tpl->setVariable(
"TXT", $a[
"txt"]);
164 $tpl->parseCurrentBlock();
166 $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.