24 include_once(
"Services/Block/classes/class.ilBlockGUI.php");
46 parent::__construct();
48 $lng->loadLanguageModule(
"wiki");
51 $this->
setTitle($lng->txt(
"wiki_wiki_search"));
52 $this->allow_moving =
false;
62 return self::$block_type;
90 $next_class = $ilCtrl->getNextClass();
91 $cmd = $ilCtrl->getCmd(
"getHTML");
107 return parent::getHTML();
117 $tpl =
new ilTemplate(
"tpl.wiki_search_block.html",
true,
true,
"Modules/Wiki");
120 $tpl->setVariable(
"TXT_PERFORM", $lng->txt(
"wiki_search"));
121 $tpl->setVariable(
"FORMACTION",
122 $ilCtrl->getFormActionByClass(
"ilobjwikigui",
"performSearch"));
123 $tpl->setVariable(
"SEARCH_TERM",
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.
static isRepositoryObject()
Is this a repository object.
static getBlockType()
Get block type.
executeCommand()
execute command