24 include_once(
"Services/Block/classes/class.ilBlockGUI.php");
52 $lng->loadLanguageModule(
"wiki");
58 $this->
setTitle($lng->txt(
"wiki_wiki_search"));
61 $this->allow_moving =
false;
72 return self::$block_type;
100 $next_class = $ilCtrl->getNextClass();
101 $cmd = $ilCtrl->getCmd(
"getHTML");
106 return $this->
$cmd();
117 return parent::getHTML();
127 $tpl =
new ilTemplate(
"tpl.wiki_search_block.html",
true,
true,
"Modules/Wiki");
130 $tpl->setVariable(
"TXT_PERFORM", $lng->txt(
"wiki_search"));
131 $tpl->setVariable(
"FORMACTION",
132 $ilCtrl->getFormActionByClass(
"ilobjwikigui",
"performSearch"));
133 $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.
& executeCommand()
execute command
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
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
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.