4 include_once(
"Services/Block/classes/class.ilBlockGUI.php");
32 $lng->loadLanguageModule(
"wiki");
38 $this->
setTitle($lng->txt(
"wiki_quick_navigation"));
41 $this->allow_moving =
false;
52 return self::$block_type;
80 $next_class = $ilCtrl->getNextClass();
81 $cmd = $ilCtrl->getCmd(
"getHTML");
97 $this->pageob = $a_pageob;
107 return $this->pageob;
117 return parent::getHTML();
127 $tpl =
new ilTemplate(
"tpl.wiki_side_block_content.html",
true,
true,
"Modules/Wiki");
133 "txt" => $lng->txt(
"wiki_start_page"),
134 "href" => $ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"gotoStartPage")
139 "txt" => $lng->txt(
"wiki_all_pages"),
140 "href" => $ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"allPages")
145 "txt" => $lng->txt(
"wiki_new_pages"),
146 "href" => $ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"newPages")
151 "txt" => $lng->txt(
"wiki_popular_pages"),
152 "href" => $ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"popularPages")
157 "txt" => $lng->txt(
"wiki_orphaned_pages"),
158 "href" => $ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"orphanedPages")
163 "txt" => $lng->txt(
"wiki_recent_changes"),
164 "href" => $ilCtrl->getLinkTargetByClass(
"ilobjwikigui",
"recentChanges")
167 foreach ($actions as $a)
169 $tpl->setCurrentBlock(
"action");
170 $tpl->setVariable(
"HREF", $a[
"href"]);
171 $tpl->setVariable(
"TXT", $a[
"txt"]);
172 $tpl->parseCurrentBlock();
174 $tpl->touchBlock(
"item");
setDataSection($a_content)
Call this from overwritten fillDataSection(), if standard row based data is not used.
static isRepositoryObject()
Is this a repository object.
& executeCommand()
execute command
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.
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
BlockGUI class for wiki sideblock.
This class represents a block method of a block.
getPageObject()
Get Page Object.