4 include_once(
"Services/Block/classes/class.ilBlockGUI.php");
26 parent::__construct();
28 $lng->loadLanguageModule(
"wiki");
31 $this->
setTitle($lng->txt(
"wiki_quick_navigation"));
32 $this->allow_moving =
false;
42 return self::$block_type;
70 $next_class = $ilCtrl->getNextClass();
71 $cmd = $ilCtrl->getCmd(
"getHTML");
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");
executeCommand()
execute command
setDataSection($a_content)
Call this from overwritten fillDataSection(), if standard row based data is not used.
static isRepositoryObject()
Is this a repository object.
setEnableNumInfo($a_enablenuminfo)
Set Enable Item Number Info.
__construct()
Constructor.
static getBlockType()
Get block type.
setTitle($a_title)
Set Title.
setPageObject($a_pageob)
Set Page Object.
fillDataSection()
Fill data section.
getHTML()
Get bloch HTML code.
special template class to simplify handling of ITX/PEAR
static getScreenMode()
Get Screen Mode for current command.
Create styles array
The data for the language used.
BlockGUI class for wiki sideblock.
This class represents a block method of a block.
getPageObject()
Get Page Object.