ILIAS
release_4-3 Revision
|
Public Member Functions | |
ilSearchBaseGUI () | |
Constructor public. | |
prepareOutput () | |
initStandardSearchForm ($a_mode) | |
Init standard search form. | |
getSearchAreaForm () | |
Init standard search form. | |
handleCommand ($a_cmd) | |
addToDeskObject () | |
Interface methods. | |
removeFromDeskObject () | |
Remove from dektop. | |
delete () | |
Show deletion screen. | |
cancelDelete () | |
Cancel delete. | |
performDelete () | |
Delete objects. | |
cut () | |
Interface ilAdministrationCommandHandler. | |
link () | |
Interface ilAdministrationCommandHandler. | |
paste () | |
Paste. | |
showLinkIntoMultipleObjectsTree () | |
Target selection link. | |
showMoveIntoObjectTree () | |
Target selection cut. | |
performPasteIntoMultipleObjects () | |
Perform paste into multiple objects. | |
clear () | |
clear clipboard | |
enableAdministrationPanel () | |
Enable administration panel. | |
disableAdministrationPanel () | |
Disable administration panel. | |
addLocator () | |
Add Locator. | |
autoComplete () | |
Data resource for autoComplete. |
Data Fields | |
const | SEARCH_FAST = 1 |
const | SEARCH_DETAILS = 2 |
const | SEARCH_AND = 'and' |
const | SEARCH_OR = 'or' |
const | SEARCH_FORM_LUCENE = 1 |
const | SEARCH_FORM_STANDARD = 2 |
$settings = null | |
$ilias = null | |
$lng = null | |
$tpl = null |
Protected Member Functions | |
addPager ($result, $a_session_key) | |
Add Pager. | |
buildSearchAreaPath ($a_root_node) | |
Build path for search area. |
Protected Attributes | |
$ctrl = null |
Definition at line 22 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::addLocator | ( | ) |
Add Locator.
Definition at line 349 of file class.ilSearchBaseGUI.php.
|
protected |
Add Pager.
public
Definition at line 362 of file class.ilSearchBaseGUI.php.
References $_SESSION, $result, and $tpl.
Referenced by ilAdvancedSearchGUI\performAdvMDSearch(), ilAdvancedSearchGUI\performSearch(), ilLuceneAdvancedSearchGUI\performSearch(), ilLuceneSearchGUI\performSearch(), ilSearchGUI\performSearch(), ilAdvancedSearchGUI\showSavedAdvMDResults(), ilLuceneAdvancedSearchGUI\showSavedResults(), ilLuceneSearchGUI\showSavedResults(), ilSearchGUI\showSavedResults(), and ilAdvancedSearchGUI\showSavedResults().
ilSearchBaseGUI::addToDeskObject | ( | ) |
Interface methods.
Implements ilDesktopItemHandling.
Definition at line 232 of file class.ilSearchBaseGUI.php.
References ilDesktopItemGUI\addToDesktop().
ilSearchBaseGUI::autoComplete | ( | ) |
Data resource for autoComplete.
Reimplemented in ilSearchGUI.
Definition at line 452 of file class.ilSearchBaseGUI.php.
References $_REQUEST, exit, and ilSearchAutoComplete\getList().
|
protected |
ilSearchBaseGUI::cancelDelete | ( | ) |
Cancel delete.
Implements ilAdministrationCommandHandling.
Definition at line 262 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::clear | ( | ) |
clear clipboard
Implements ilAdministrationCommandHandling.
Definition at line 327 of file class.ilSearchBaseGUI.php.
References $_SESSION.
ilSearchBaseGUI::cut | ( | ) |
Interface ilAdministrationCommandHandler.
Implements ilAdministrationCommandHandling.
Definition at line 280 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::delete | ( | ) |
Show deletion screen.
Implements ilAdministrationCommandHandling.
Definition at line 252 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::disableAdministrationPanel | ( | ) |
Disable administration panel.
Implements ilAdministrationCommandHandling.
Definition at line 339 of file class.ilSearchBaseGUI.php.
References $_SESSION.
ilSearchBaseGUI::enableAdministrationPanel | ( | ) |
Enable administration panel.
Implements ilAdministrationCommandHandling.
Definition at line 333 of file class.ilSearchBaseGUI.php.
References $_SESSION.
ilSearchBaseGUI::getSearchAreaForm | ( | ) |
Init standard search form.
Definition at line 182 of file class.ilSearchBaseGUI.php.
References $_POST, $ilCtrl, $lng, ilSearchSettings\getInstance(), and ilRepositorySelectorInputGUI\setSelectText().
Referenced by ilLuceneSearchGUI\executeCommand(), ilSearchGUI\executeCommand(), ilSearchGUI\showSearch(), ilLuceneSearchGUI\showSearchForm(), ilSearchGUI\storeRoot(), and ilLuceneSearchGUI\storeRoot().
ilSearchBaseGUI::handleCommand | ( | $a_cmd | ) |
Definition at line 216 of file class.ilSearchBaseGUI.php.
Referenced by ilLuceneAdvancedSearchGUI\executeCommand(), ilLuceneSearchGUI\executeCommand(), ilSearchGUI\executeCommand(), and ilAdvancedSearchGUI\executeCommand().
ilSearchBaseGUI::ilSearchBaseGUI | ( | ) |
Constructor public.
Definition at line 43 of file class.ilSearchBaseGUI.php.
References $ilCtrl, $ilias, $lng, and $tpl.
Referenced by ilAdvancedSearchGUI\ilAdvancedSearchGUI().
ilSearchBaseGUI::initStandardSearchForm | ( | $a_mode | ) |
Init standard search form.
$radg = new ilRadioGroupInputGUI($lng->txt("search_term_combination"), "combination"); $radg->setValue(($this->getCombination() == ilSearchBaseGUI::SEARCH_AND) ? "and" : "or"); $op1 = new ilRadioOption($lng->txt("search_any_word"), "or"); $radg->addOption($op1); $op2 = new ilRadioOption($lng->txt("search_all_words"), "and"); $radg->addOption($op2);
Definition at line 79 of file class.ilSearchBaseGUI.php.
References $data, $ilCtrl, $lng, ilSearchSettings\getInstance(), SEARCH_DETAILS, SEARCH_FAST, SEARCH_FORM_STANDARD, ilCheckboxInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), and ilRadioOption\setValue().
Referenced by ilSearchGUI\__construct(), ilLuceneSearchGUI\executeCommand(), and ilSearchGUI\showSearch().
ilSearchBaseGUI::link | ( | ) |
Interface ilAdministrationCommandHandler.
Definition at line 292 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::paste | ( | ) |
Paste.
Implements ilAdministrationCommandHandling.
Definition at line 299 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::performDelete | ( | ) |
Delete objects.
Implements ilAdministrationCommandHandling.
Definition at line 270 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::performPasteIntoMultipleObjects | ( | ) |
Perform paste into multiple objects.
Implements ilAdministrationCommandHandling.
Definition at line 320 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::prepareOutput | ( | ) |
Reimplemented in ilAdvancedSearchGUI, ilSearchGUI, ilLuceneAdvancedSearchGUI, and ilLuceneSearchGUI.
Definition at line 57 of file class.ilSearchBaseGUI.php.
References $lng, ilUtil\getImagePath(), and ilUtil\infoPanel().
ilSearchBaseGUI::removeFromDeskObject | ( | ) |
Remove from dektop.
Implements ilDesktopItemHandling.
Definition at line 242 of file class.ilSearchBaseGUI.php.
References ilDesktopItemGUI\removeFromDesktop().
ilSearchBaseGUI::showLinkIntoMultipleObjectsTree | ( | ) |
Target selection link.
Implements ilAdministrationCommandHandling.
Definition at line 306 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::showMoveIntoObjectTree | ( | ) |
Target selection cut.
Implements ilAdministrationCommandHandling.
Definition at line 313 of file class.ilSearchBaseGUI.php.
|
protected |
Definition at line 34 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::$ilias = null |
Definition at line 35 of file class.ilSearchBaseGUI.php.
Referenced by ilSearchBaseGUI().
ilSearchBaseGUI::$lng = null |
Definition at line 36 of file class.ilSearchBaseGUI.php.
Referenced by ilSearchGUI\__construct(), ilLuceneAdvancedSearchGUI\fillAdminPanel(), ilLuceneSearchGUI\fillAdminPanel(), getSearchAreaForm(), ilSearchBaseGUI(), initStandardSearchForm(), prepareOutput(), ilSearchGUI\showSearch(), and ilLuceneSearchGUI\showSearchForm().
ilSearchBaseGUI::$settings = null |
Definition at line 32 of file class.ilSearchBaseGUI.php.
ilSearchBaseGUI::$tpl = null |
Definition at line 37 of file class.ilSearchBaseGUI.php.
Referenced by addPager(), and ilSearchBaseGUI().
const ilSearchBaseGUI::SEARCH_AND = 'and' |
Definition at line 26 of file class.ilSearchBaseGUI.php.
const ilSearchBaseGUI::SEARCH_DETAILS = 2 |
Definition at line 25 of file class.ilSearchBaseGUI.php.
Referenced by ilSearchGUI\__getFilter(), ilSearchGUI\__searchMeta(), ilSearchGUI\__searchObjects(), ilLuceneSearchGUI\getType(), initStandardSearchForm(), and ilSearchGUI\performSearch().
const ilSearchBaseGUI::SEARCH_FAST = 1 |
Definition at line 24 of file class.ilSearchBaseGUI.php.
Referenced by ilSearchGUI\getType(), ilLuceneSearchGUI\getType(), and initStandardSearchForm().
const ilSearchBaseGUI::SEARCH_FORM_LUCENE = 1 |
Definition at line 29 of file class.ilSearchBaseGUI.php.
Referenced by ilLuceneSearchGUI\executeCommand().
const ilSearchBaseGUI::SEARCH_FORM_STANDARD = 2 |
Definition at line 30 of file class.ilSearchBaseGUI.php.
Referenced by ilSearchGUI\__construct(), initStandardSearchForm(), and ilSearchGUI\showSearch().
const ilSearchBaseGUI::SEARCH_OR = 'or' |
Definition at line 27 of file class.ilSearchBaseGUI.php.
Referenced by ilSearchGUI\getCombination().