ILIAS
Release_5_0_x_branch Revision 61816
|
Field definitions of advanced meta data search. More...
Public Member Functions | |
getActiveFields () | |
Get all active fields. | |
getActiveSections () | |
getFormElement ($a_query, $a_field_name, ilPropertyFormGUI $a_form) | |
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. |
Data Fields | |
const | ONLINE_QUERY = 1 |
const | OFFLINE_QUERY = 2 |
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 53 of file class.ilLuceneAdvancedSearchFields.php.
References $lng, getInstance(), readFields(), and readSections().
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 81 of file class.ilLuceneAdvancedSearchFields.php.
References $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 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(), getInstance(), getRangeSelect(), and ilTextInputGUI\setValue().
|
static |
Get singleton instance.
Definition at line 69 of file class.ilLuceneAdvancedSearchFields.php.
References $instance.
Referenced by ilLuceneAdvancedQueryParser\__construct(), ilLuceneSearchGUI\__construct(), ilLuceneAdvancedSearchGUI\__construct(), __construct(), getFormElement(), ilLuceneUserSearchGUI\getTabs(), ilAdvancedSearchGUI\ilAdvancedSearchGUI(), parseFieldQuery(), and readSections().
|
protected |
get a range selection
Definition at line 811 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 447 of file class.ilLuceneAdvancedSearchFields.php.
References $options, $res, ilMDUtilSelect\_getDifficultySelect(), ilMDUtilSelect\_getInteractivityLevelSelect(), ilMDUtilSelect\_getSemanticDensitySelect(), and getInstance().
|
protected |
Read active fields.
Definition at line 658 of file class.ilLuceneAdvancedSearchFields.php.
Referenced by __construct().
|
protected |
Read active sections.
Definition at line 672 of file class.ilLuceneAdvancedSearchFields.php.
References ilAdvancedMDRecord\_lookupTitle(), getActiveFields(), and 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.
Referenced by getInstance().
|
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.