ILIAS
release_8 Revision v8.23
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
getActiveFields () | |
Get all active fields. More... | |
getActiveSections () | |
getFormElement ($a_query, string $a_field_name, ilPropertyFormGUI $a_form) | |
parseFieldQuery (string $a_field, $a_query) | |
Called from ilLuceneAdvancedQueryParser Parse a field specific query. More... | |
Static Public Member Functions | |
static | getInstance () |
static | getFields () |
Return an array of all meta data fields. More... | |
Data Fields | |
const | ONLINE_QUERY = 1 |
const | OFFLINE_QUERY = 2 |
Protected Member Functions | |
__construct () | |
readFields () | |
Read active fields. More... | |
readSections () | |
Read active sections. More... | |
getRangeSelect (string $txt_from, string $select_from, string $txt_until, string $select_until) | |
get a range selection More... | |
Protected Attributes | |
ilLanguage | $lng |
ilObjUser | $user |
Private Attributes | |
ilLuceneAdvancedSearchSettings | $settings |
array | $active_fields = [] |
array | $active_sections = [] |
Static Private Attributes | |
static ilLuceneAdvancedSearchFields | $instance = null |
static array | $fields = [] |
static array | $sections = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Field definitions of advanced meta data search
Definition at line 29 of file class.ilLuceneAdvancedSearchFields.php.
|
protected |
Definition at line 47 of file class.ilLuceneAdvancedSearchFields.php.
References $DIC, ilLuceneAdvancedSearchSettings\getInstance(), ILIAS\Repository\lng(), readFields(), readSections(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
ilLuceneAdvancedSearchFields::getActiveFields | ( | ) |
Get all active fields.
Definition at line 130 of file class.ilLuceneAdvancedSearchFields.php.
References $active_fields.
Referenced by readSections().
ilLuceneAdvancedSearchFields::getActiveSections | ( | ) |
Definition at line 135 of file class.ilLuceneAdvancedSearchFields.php.
References $active_sections.
|
static |
Return an array of all meta data fields.
Definition at line 73 of file class.ilLuceneAdvancedSearchFields.php.
References $DIC, $fields, ilAdvancedMDRecord\_getRecords(), ilObject\_hasUntrashedReference(), ilSearchSettings\getInstance(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), ilLanguage\getLangKey(), ilLanguage\loadLanguageModule(), and ilLanguage\txt().
Referenced by ilLuceneAdvancedSearchActivationTableGUI\parse(), ilLuceneAdvancedSearchSettings\read(), and ilObjSearchSettingsGUI\saveAdvancedLuceneSettingsObject().
ilLuceneAdvancedSearchFields::getFormElement | ( | $a_query, | |
string | $a_field_name, | ||
ilPropertyFormGUI | $a_form | ||
) |
string | array | $a_query |
Definition at line 143 of file class.ilLuceneAdvancedSearchFields.php.
References ilMDUtilSelect\_getBrowserSelect(), ilMDUtilSelect\_getContextSelect(), ilMDUtilSelect\_getCopyrightAndOtherRestrictionsSelect(), ilMDUtilSelect\_getCostsSelect(), ilMDUtilSelect\_getDifficultySelect(), ilMDUtilSelect\_getFormatSelect(), ilMDUtilSelect\_getIntendedEndUserRoleSelect(), ilMDUtilSelect\_getInteractivityLevelSelect(), ilMDUtilSelect\_getInteractivityTypeSelect(), ilMDUtilSelect\_getLanguageSelect(), ilMDUtilSelect\_getLearningResourceTypeSelect(), ilMDUtilSelect\_getOperatingSystemSelect(), ilMDUtilSelect\_getPurposeSelect(), ilMDUtilSelect\_getRoleSelect(), ilMDUtilSelect\_getSemanticDensitySelect(), ilMDUtilSelect\_getStatusSelect(), ilMDUtilSelect\_getStructureSelect(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstance(), getRangeSelect(), and ILIAS\Repository\lng().
|
static |
Definition at line 61 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by ilLuceneAdvancedQueryParser\__construct(), ilLuceneAdvancedSearchGUI\__construct(), ilLuceneSearchGUI\__construct(), ilAdvancedSearchGUI\__construct(), and ilLuceneUserSearchGUI\getTabs().
|
protected |
get a range selection
Definition at line 796 of file class.ilLuceneAdvancedSearchFields.php.
References $tpl.
Referenced by getFormElement().
ilLuceneAdvancedSearchFields::parseFieldQuery | ( | string | $a_field, |
$a_query | |||
) |
Called from ilLuceneAdvancedQueryParser Parse a field specific query.
string | $a_field | |
string | array | $a_query |
Definition at line 463 of file class.ilLuceneAdvancedSearchFields.php.
References $i, $res, ilMDUtilSelect\_getDifficultySelect(), ilMDUtilSelect\_getInteractivityLevelSelect(), ilMDUtilSelect\_getSemanticDensitySelect(), and ilAdvancedMDFieldDefinition\getInstance().
|
protected |
Read active fields.
Definition at line 647 of file class.ilLuceneAdvancedSearchFields.php.
References $name, and ILIAS\Repository\settings().
Referenced by __construct().
|
protected |
Read active sections.
Definition at line 659 of file class.ilLuceneAdvancedSearchFields.php.
References getActiveFields(), ilAdvancedMDFieldDefinition\getInstance(), ilAdvancedMDRecordTranslations\getInstanceByRecordId(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by __construct().
|
private |
Definition at line 41 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by getActiveFields().
|
private |
Definition at line 44 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by getActiveSections().
|
staticprivate |
Definition at line 40 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by getFields().
|
staticprivate |
Definition at line 34 of file class.ilLuceneAdvancedSearchFields.php.
|
protected |
Definition at line 37 of file class.ilLuceneAdvancedSearchFields.php.
|
staticprivate |
Definition at line 43 of file class.ilLuceneAdvancedSearchFields.php.
|
private |
Definition at line 35 of file class.ilLuceneAdvancedSearchFields.php.
|
protected |
Definition at line 38 of file class.ilLuceneAdvancedSearchFields.php.
const ilLuceneAdvancedSearchFields::OFFLINE_QUERY = 2 |
Definition at line 32 of file class.ilLuceneAdvancedSearchFields.php.
const ilLuceneAdvancedSearchFields::ONLINE_QUERY = 1 |
Definition at line 31 of file class.ilLuceneAdvancedSearchFields.php.