ILIAS
Release_4_2_x_branch Revision 61807
|
Field definitions of advanced meta data search. More...
Public Member Functions | |
getActiveFields () | |
Get all active fields. | |
getActiveSections () | |
getFormElement ($a_query, $a_field_name) | |
parseFieldQuery ($a_field, $a_query) | |
Called from ilLuceneAdvancedQueryParser Parse a field specific query. |
Static Public Member Functions | |
static | getInstance () |
Get singleton instance. | |
static | getFields () |
Return an array of all meta data fields. |
Protected Member Functions | |
__construct () | |
readFields () | |
Read active fields. | |
readSections () | |
Read active sections. | |
getRangeSelect ($txt_from, $select_from, $txt_until, $select_until) | |
get a range selection |
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 50 of file class.ilLuceneAdvancedSearchFields.php.
References $lng, getInstance(), readFields(), and readSections().
ilLuceneAdvancedSearchFields::getActiveFields | ( | ) |
Get all active fields.
Definition at line 129 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by readSections().
ilLuceneAdvancedSearchFields::getActiveSections | ( | ) |
Definition at line 134 of file class.ilLuceneAdvancedSearchFields.php.
|
static |
Return an array of all meta data fields.
Definition at line 78 of file class.ilLuceneAdvancedSearchFields.php.
References $fields, $lng, ilAdvancedMDFieldDefinition\_getDefinitionsByRecordId(), and ilAdvancedMDRecord\_getRecords().
Referenced by ilLuceneAdvancedSearchActivationTableGUI\parse(), ilLuceneAdvancedSearchSettings\read(), and ilObjSearchSettingsGUI\saveAdvancedLuceneSettingsObject().
ilLuceneAdvancedSearchFields::getFormElement | ( | $a_query, | |
$a_field_name | |||
) |
Definition at line 139 of file class.ilLuceneAdvancedSearchFields.php.
References ilMDUtilSelect\_getBrowserSelect(), ilMDUtilSelect\_getContextSelect(), ilMDUtilSelect\_getCopyrightAndOtherRestrictionsSelect(), ilMDUtilSelect\_getCostsSelect(), ilMDUtilSelect\_getDifficultySelect(), ilMDUtilSelect\_getFormatSelect(), ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), ilMDUtilSelect\_getIntendedEndUserRoleSelect(), ilMDUtilSelect\_getInteractivityLevelSelect(), ilMDUtilSelect\_getInteractivityTypeSelect(), ilMDUtilSelect\_getLanguageSelect(), ilMDUtilSelect\_getLearningResourceTypeSelect(), ilMDUtilSelect\_getOperatingSystemSelect(), ilMDUtilSelect\_getPurposeSelect(), ilMDUtilSelect\_getRoleSelect(), ilMDUtilSelect\_getSemanticDensitySelect(), ilMDUtilSelect\_getStatusSelect(), ilMDUtilSelect\_getStructureSelect(), getRangeSelect(), IL_CAL_UNIX, ilTextInputGUI\setValue(), ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
|
static |
Get singleton instance.
Definition at line 66 of file class.ilLuceneAdvancedSearchFields.php.
References $instance.
Referenced by ilLuceneAdvancedQueryParser\__construct(), ilLuceneSearchGUI\__construct(), __construct(), ilLuceneAdvancedSearchGUI\__construct(), and ilAdvancedSearchGUI\ilAdvancedSearchGUI().
|
protected |
get a range selection
Definition at line 822 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 446 of file class.ilLuceneAdvancedSearchFields.php.
References $_POST, ilMDUtilSelect\_getDifficultySelect(), ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), ilMDUtilSelect\_getInteractivityLevelSelect(), ilMDUtilSelect\_getSemanticDensitySelect(), IL_CAL_FKT_GETDATE, IL_CAL_UNIX, ilAdvancedMDFieldDefinition\TYPE_DATE, ilAdvancedMDFieldDefinition\TYPE_DATETIME, ilAdvancedMDFieldDefinition\TYPE_SELECT, and ilAdvancedMDFieldDefinition\TYPE_TEXT.
|
protected |
Read active fields.
Definition at line 675 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by __construct().
|
protected |
Read active sections.
Definition at line 689 of file class.ilLuceneAdvancedSearchFields.php.
References ilAdvancedMDFieldDefinition\_getInstanceByFieldId(), ilAdvancedMDRecord\_lookupTitle(), and getActiveFields().
Referenced by __construct().
|
private |
Definition at line 44 of file class.ilLuceneAdvancedSearchFields.php.
|
private |
Definition at line 47 of file class.ilLuceneAdvancedSearchFields.php.
|
staticprivate |
Definition at line 43 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by getFields().
|
staticprivate |
Definition at line 38 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by getInstance().
|
protected |
Definition at line 41 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by __construct(), and getFields().
|
staticprivate |
Definition at line 46 of file class.ilLuceneAdvancedSearchFields.php.
|
private |
Definition at line 39 of file class.ilLuceneAdvancedSearchFields.php.