4include_once
'./Services/Block/classes/class.ilBlockGUI.php';
35 $this->allow_moving =
false;
69 $next_class = $ilCtrl->getNextClass();
70 $cmd = $ilCtrl->getCmd(
"getHTML");
72 switch ($next_class) {
83 return parent::getHTML();
109 $tpl =
new ilTemplate(
"tpl.search_search_block.html",
true,
true,
'Services/Search');
111 $lng->loadLanguageModule(
'search');
112 $tpl->setVariable(
"TXT_SEARCH_INPUT_LABEL",
$lng->txt(
'search_field'));
113 $tpl->setVariable(
"TXT_PERFORM",
$lng->txt(
'btn_search'));
114 $tpl->setVariable(
"FORMACTION", $ilCtrl->getFormActionByClass(
'ilrepositoryobjectsearchgui',
'performSearch'));
An exception for terminatinating execution or to throw for unit testing.
This class represents a block method of a block.
setDataSection($a_content)
Call this from overwritten fillDataSection(), if standard row based data is not used.
setTitle($a_title)
Set Title.
setEnableNumInfo($a_enablenuminfo)
Set Enable Item Number Info.
isRepositoryObject()
Returns whether block has a corresponding repository object.bool
__construct($a_title)
Constructor @global type $ilCtrl @global type $lng.
static getScreenMode()
Get Screen Mode for current command.
executeCommand()
execute command
getHTML()
Get bloch HTML code.
getLegacyContent()
Get legacy content.string
fillDataSection()
Fill data section.
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
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms @access public
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc