24 include_once(
"Services/Block/classes/class.ilBlockGUI.php");
46 $this->ctrl = $DIC->ctrl();
47 $this->lng = $DIC->language();
48 $this->
user = $DIC->user();
49 $this->access = $DIC->access();
50 $lng = $DIC->language();
52 parent::__construct();
54 $lng->loadLanguageModule(
"wiki");
58 $this->allow_moving =
false;
66 return self::$block_type;
92 $next_class =
$ilCtrl->getNextClass();
93 $cmd =
$ilCtrl->getCmd(
"getHTML");
95 switch ($next_class) {
110 return parent::getHTML();
122 $tpl =
new ilTemplate(
"tpl.wiki_search_block.html",
true,
true,
"Modules/Wiki");
125 $tpl->setVariable(
"TXT_PERFORM",
$lng->txt(
"wiki_search"));
128 $ilCtrl->getFormActionByClass(
"ilobjwikigui",
"performSearch")
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
setDataSection($a_content)
Call this from overwritten fillDataSection(), if standard row based data is not used.
BlockGUI class for wiki searchblock.
static getScreenMode()
Get Screen Mode for current command.
setEnableNumInfo($a_enablenuminfo)
Set Enable Item Number Info.
getHTML()
Get bloch HTML code.
setTitle($a_title)
Set Title.
special template class to simplify handling of ITX/PEAR
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
fillDataSection()
Fill data section.
__construct()
Constructor.
This class represents a block method of a block.
executeCommand()
execute command