ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Field definitions of advanced meta data search. More...
Public Member Functions | |
getActiveFields () | |
Get all active fields. More... | |
getActiveSections () | |
getFormElement ($a_query, $a_field_name, ilPropertyFormGUI $a_form) | |
parseFieldQuery ($a_field, $a_query) | |
Called from ilLuceneAdvancedQueryParser Parse a field specific query. More... | |
Static Public Member Functions | |
static | getInstance () |
Get singleton instance. More... | |
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 ($txt_from, $select_from, $txt_until, $select_until) | |
get a range selection More... | |
Protected Attributes | |
$lng = null | |
Private Attributes | |
$settings = null | |
$active_fields = array() | |
$active_sections = array() | |
Static Private Attributes | |
static | $instance = null |
static | $fields = null |
static | $sections = null |
Field definitions of advanced meta data search.
Definition at line 36 of file class.ilLuceneAdvancedSearchFields.php.
|
protected |
Definition at line 53 of file class.ilLuceneAdvancedSearchFields.php.
References $DIC, $lng, ilLuceneAdvancedSearchSettings\getInstance(), readFields(), readSections(), and settings().
ilLuceneAdvancedSearchFields::getActiveFields | ( | ) |
Get all active fields.
Definition at line 133 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by readSections().
ilLuceneAdvancedSearchFields::getActiveSections | ( | ) |
Definition at line 138 of file class.ilLuceneAdvancedSearchFields.php.
|
static |
Return an array of all meta data fields.
Definition at line 82 of file class.ilLuceneAdvancedSearchFields.php.
References $def, $DIC, $fields, $lng, ilAdvancedMDRecord\_getRecords(), ilSearchSettings\getInstance(), and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by ilLuceneAdvancedSearchActivationTableGUI\parse(), ilLuceneAdvancedSearchSettings\read(), and ilObjSearchSettingsGUI\saveAdvancedLuceneSettingsObject().
ilLuceneAdvancedSearchFields::getFormElement | ( | $a_query, | |
$a_field_name, | |||
ilPropertyFormGUI | $a_form | ||
) |
Definition at line 143 of file class.ilLuceneAdvancedSearchFields.php.
References $html, $text, 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(), ilLoggerFactory\getLogger(), and getRangeSelect().
|
static |
Get singleton instance.
Definition at line 71 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by ilLuceneAdvancedQueryParser\__construct(), ilLuceneSearchGUI\__construct(), ilLuceneAdvancedSearchGUI\__construct(), ilAdvancedSearchGUI\__construct(), and ilLuceneUserSearchGUI\getTabs().
|
protected |
get a range selection
Definition at line 806 of file class.ilLuceneAdvancedSearchFields.php.
References $tpl.
Referenced by getFormElement().
ilLuceneAdvancedSearchFields::parseFieldQuery | ( | $a_field, | |
$a_query | |||
) |
Called from ilLuceneAdvancedQueryParser Parse a field specific query.
Definition at line 466 of file class.ilLuceneAdvancedSearchFields.php.
References $i, PHPMailer\PHPMailer\$options, $res, ilMDUtilSelect\_getDifficultySelect(), ilMDUtilSelect\_getInteractivityLevelSelect(), ilMDUtilSelect\_getSemanticDensitySelect(), and ilAdvancedMDFieldDefinition\getInstance().
|
protected |
Read active fields.
Definition at line 656 of file class.ilLuceneAdvancedSearchFields.php.
References $name, and settings().
Referenced by __construct().
|
protected |
Read active sections.
Definition at line 668 of file class.ilLuceneAdvancedSearchFields.php.
References ilAdvancedMDRecord\_lookupTitle(), getActiveFields(), and ilAdvancedMDFieldDefinition\getInstance().
Referenced by __construct().
|
private |
Definition at line 47 of file class.ilLuceneAdvancedSearchFields.php.
|
private |
Definition at line 50 of file class.ilLuceneAdvancedSearchFields.php.
|
staticprivate |
Definition at line 46 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by getFields().
|
staticprivate |
Definition at line 41 of file class.ilLuceneAdvancedSearchFields.php.
|
protected |
Definition at line 44 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by __construct(), and getFields().
|
staticprivate |
Definition at line 49 of file class.ilLuceneAdvancedSearchFields.php.
|
private |
Definition at line 42 of file class.ilLuceneAdvancedSearchFields.php.
const ilLuceneAdvancedSearchFields::OFFLINE_QUERY = 2 |
Definition at line 39 of file class.ilLuceneAdvancedSearchFields.php.
const ilLuceneAdvancedSearchFields::ONLINE_QUERY = 1 |
Definition at line 38 of file class.ilLuceneAdvancedSearchFields.php.