|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
AMD field abstract base class. More...
Inheritance diagram for ilAdvancedMDFieldDefinition:
Collaboration diagram for ilAdvancedMDFieldDefinition:Public Member Functions | |
| __construct (?int $a_field_id=null, string $language='') | |
| getType () | |
| Get type. More... | |
| useDefaultLanguageMode (string $language) | |
| Check if default language mode has to be used: no language given or language equals default language. More... | |
| getTypeTitle () | |
| getADTDefinition () | |
| Get ADT definition instance. More... | |
| getADT () | |
| getFieldId () | |
| Get field_id. More... | |
| setRecordId (int $a_id) | |
| Set record id. More... | |
| getRecordId () | |
| Get record id. More... | |
| setImportId (string $a_id_string) | |
| Set import id. More... | |
| getImportId () | |
| Get import id. More... | |
| setPosition (int $a_pos) | |
| Set position. More... | |
| getPosition () | |
| Get position. More... | |
| setTitle (string $a_title) | |
| Get title. More... | |
| getTitle () | |
| Get title. More... | |
| setDescription (string $a_desc) | |
| Set description. More... | |
| getDescription () | |
| Get description. More... | |
| isSearchSupported () | |
| Is search supported at all. More... | |
| isFilterSupported () | |
| Is search by filter supported. More... | |
| setSearchable (bool $a_status) | |
| Toggle searchable. More... | |
| isSearchable () | |
| Is searchable. More... | |
| setRequired (bool $a_status) | |
| Toggle required. More... | |
| isRequired () | |
| Is required field. More... | |
| getFieldDefinitionForTableGUI (string $content_language) | |
| Parse properties for table gui. More... | |
| addToFieldDefinitionForm (ilPropertyFormGUI $a_form, ilAdvancedMDPermissionHelper $a_permissions, string $language='') | |
| Add input elements to definition form. More... | |
| importCustomDefinitionFormPostValues (ilPropertyFormGUI $a_form, string $language='') | |
| Import custom post values from definition form. More... | |
| importDefinitionFormPostValues (ilPropertyFormGUI $a_form, ilAdvancedMDPermissionHelper $a_permissions, string $active_language) | |
| Import post values from definition form. More... | |
| importDefinitionFormPostValuesNeedsConfirmation () | |
| prepareCustomDefinitionFormConfirmation (ilPropertyFormGUI $a_form) | |
| prepareDefinitionFormConfirmation (ilPropertyFormGUI $a_form) | |
| generateImportId (int $a_field_id) | |
| Generate unique record id. More... | |
| save (bool $a_keep_pos=false) | |
| Create new field entry. More... | |
| update () | |
| Update field entry. More... | |
| delete () | |
| Delete field entry. More... | |
| toXML (ilXmlWriter $a_writer) | |
| To Xml. More... | |
| importXMLProperty (string $a_key, string $a_value) | |
| Import property from XML. More... | |
| getValueForXML (ilADT $element) | |
| Parse ADT value for xml (export) More... | |
| importValueFromXML (string $a_cdata) | |
| Import value from xml. More... | |
| importFromECS (string $a_ecs_type, $a_value, string $a_sub_id) | |
| Import meta data from ECS. More... | |
| prepareElementForEditor (ilADTFormBridge $a_bridge) | |
| Prepare editor form elements. More... | |
| getSearchQueryParserValue (ilADTSearchBridge $a_adt_search) | |
| Get value for search query parser. More... | |
| getSearchValueSerialized (ilADTSearchBridge $a_adt_search) | |
| setSearchValueSerialized (ilADTSearchBridge $a_adt_search, $a_value) | |
| Set value from search persistence. More... | |
| searchSubObjects (ilADTSearchBridge $a_adt_search, int $a_obj_id, string $sub_obj_type) | |
| searchObjects (ilADTSearchBridge $a_adt_search, ilQueryParser $a_parser, array $a_object_types, string $a_locate, string $a_search_type) | |
| Search objects. More... | |
| getLuceneSearchString ($a_value) | |
| Get search string in lucene syntax. More... | |
| prepareElementForSearch (ilADTSearchBridge $a_bridge) | |
| Prepare search form elements. More... | |
| _clone (int $a_new_record_id) | |
| Clone field definition. More... | |
| hasComplexOptions () | |
| getComplexOptionsOverview (object $a_parent_gui, string $parent_cmd) | |
Static Public Member Functions | |
| static | getInstance (?int $a_field_id, ?int $a_type=null, string $language='') |
| static | exists (int $a_field_id) |
| static | getInstanceByTypeString (string $a_type) |
| Get instance by type string (used by import) More... | |
| static | getInstancesByRecordId ( $a_record_id, $a_only_searchable=false, string $language='') |
| Get definitions by record id. More... | |
| static | getInstancesByObjType ($a_obj_type, $a_active_only=true) |
| static | getInstanceByImportId (string $a_import_id) |
| static | getSearchableDefinitionIds () |
| Get searchable definition ids (performance is key) More... | |
| static | getADTGroupForDefinitions (array $a_defs) |
| Init ADTGroup for definitions. More... | |
| static | getValidTypes () |
| Get all valid types. More... | |
| static | isValidType (int $a_type) |
Data Fields | |
| const | TYPE_SELECT = 1 |
| const | TYPE_TEXT = 2 |
| const | TYPE_DATE = 3 |
| const | TYPE_DATETIME = 4 |
| const | TYPE_INTEGER = 5 |
| const | TYPE_FLOAT = 6 |
| const | TYPE_LOCATION = 7 |
| const | TYPE_SELECT_MULTI = 8 |
| const | TYPE_ADDRESS = 99 |
| const | TYPE_EXTERNAL_LINK = 9 |
| const | TYPE_INTERNAL_LINK = 10 |
Protected Member Functions | |
| init () | |
| initADTDefinition () | |
| Init adt instance. More... | |
| setADT (ilADT $a_adt) | |
| Set ADT instance. More... | |
| setFieldId (int $a_id) | |
| Set field_id. More... | |
| importFieldDefinition (array $a_def) | |
| Import (type-specific) field definition from DB. More... | |
| getFieldDefinition () | |
| Get (type-specific) field definition. More... | |
| addCustomFieldToDefinitionForm (ilPropertyFormGUI $a_form, bool $a_disabled=false, string $language='') | |
| Add custom input elements to definition form. More... | |
| getLastPosition () | |
| Get last position of record. More... | |
| getDBProperties () | |
| Get all definition properties for DB. More... | |
| import (array $a_data) | |
| Import from DB. More... | |
| read (?int $a_field_id) | |
| Read field definition. More... | |
| addPropertiesToXML (ilXmlWriter $a_writer) | |
| Add (type-specific) properties to xml export. More... | |
| parseSearchObjects (array $a_records, array $a_object_types) | |
| Add object-data needed for global search to AMD search results. More... | |
Static Protected Member Functions | |
| static | getTypeString (int $a_type) |
| Get type as string. More... | |
Protected Attributes | |
| int | $field_id = null |
| int | $record_id = 0 |
| string | $import_id = '' |
| int | $position = 0 |
| string | $title = '' |
| string | $description = '' |
| bool | $searchable = false |
| bool | $required = false |
| ilADTDefinition | $adt_def = null |
| ilADT | $adt = null |
| string | $language = '' |
| ilDBInterface | $db |
| ilLanguage | $lng |
| ilLogger | $logger |
| GlobalHttpState | $http |
| RefineryFactory | $refinery |
AMD field abstract base class.
Definition at line 30 of file class.ilAdvancedMDFieldDefinition.php.
| ilAdvancedMDFieldDefinition::__construct | ( | ?int | $a_field_id = null, |
| string | $language = '' |
||
| ) |
PhpUndefinedMethodInspection
Definition at line 63 of file class.ilAdvancedMDFieldDefinition.php.
References $DIC, $language, ILIAS\FileDelivery\http(), init(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), read(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilAdvancedMDFieldDefinition::_clone | ( | int | $a_new_record_id | ) |
Clone field definition.
Definition at line 1095 of file class.ilAdvancedMDFieldDefinition.php.
References getDescription(), getFieldDefinition(), getPosition(), getTitle(), isRequired(), and isSearchable().
Referenced by ilAdvancedMDFieldDefinitionSelect\import().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Add custom input elements to definition form.
Definition at line 570 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by addToFieldDefinitionForm().
Here is the caller graph for this function:
|
protected |
Add (type-specific) properties to xml export.
Definition at line 928 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by toXML().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::addToFieldDefinitionForm | ( | ilPropertyFormGUI | $a_form, |
| ilAdvancedMDPermissionHelper | $a_permissions, | ||
| string | $language = '' |
||
| ) |
Add input elements to definition form.
Definition at line 580 of file class.ilAdvancedMDFieldDefinition.php.
References $check, $DIC, ilAdvancedMDPermissionHelper\ACTION_FIELD_EDIT_PROPERTY, addCustomFieldToDefinitionForm(), ilPropertyFormGUI\addItem(), ilAdvancedMDPermissionHelper\CONTEXT_FIELD, getDescription(), getFieldId(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), getRecordId(), getTitle(), ilClaimingPermissionHelper\hasPermissions(), isSearchable(), isSearchSupported(), ilTextAreaInputGUI\setValue(), ilAdvancedMDPermissionHelper\SUBACTION_FIELD_DESCRIPTION, ilAdvancedMDPermissionHelper\SUBACTION_FIELD_PROPERTIES, ilAdvancedMDPermissionHelper\SUBACTION_FIELD_SEARCHABLE, ilAdvancedMDPermissionHelper\SUBACTION_FIELD_TITLE, and ilLanguage\txt().
Referenced by ilAdvancedMDSettingsGUI\initFieldForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::delete | ( | ) |
Delete field entry.
Definition at line 871 of file class.ilAdvancedMDFieldDefinition.php.
References ilAdvancedMDValues\_deleteByFieldId(), getADT(), and getFieldId().
Here is the call graph for this function:
|
static |
Definition at line 108 of file class.ilAdvancedMDFieldDefinition.php.
References $DIC, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilContainerFilterFieldData\getFilterSetForRefId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::generateImportId | ( | int | $a_field_id | ) |
Generate unique record id.
Definition at line 754 of file class.ilAdvancedMDFieldDefinition.php.
References IL_INST_ID.
Referenced by save().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::getADT | ( | ) |
Definition at line 368 of file class.ilAdvancedMDFieldDefinition.php.
References $adt, getADTDefinition(), and ilADTFactory\getInstance().
Referenced by delete(), ilAdvancedMDFieldDefinitionDate\importFromECS(), ilAdvancedMDFieldDefinitionDateTime\importFromECS(), ilAdvancedMDFieldDefinitionText\importFromECS(), ilAdvancedMDFieldDefinitionExternalLink\importValueFromXML(), ilAdvancedMDFieldDefinitionInternalLink\importValueFromXML(), ilAdvancedMDFieldDefinitionLocation\importValueFromXML(), ilAdvancedMDFieldDefinitionDate\importValueFromXML(), ilAdvancedMDFieldDefinitionDateTime\importValueFromXML(), ilAdvancedMDFieldDefinitionSelectMulti\importValueFromXML(), ilAdvancedMDFieldDefinitionGroupBased\importValueFromXML(), ilAdvancedMDFieldDefinitionInteger\importValueFromXML(), ilAdvancedMDFieldDefinitionText\importValueFromXML(), ilAdvancedMDFieldDefinitionSelect\importValueFromXML(), ilAdvancedMDFieldDefinitionInternalLink\searchObjects(), ilAdvancedMDFieldDefinitionText\searchObjects(), searchObjects(), and searchSubObjects().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::getADTDefinition | ( | ) |
Get ADT definition instance.
Definition at line 360 of file class.ilAdvancedMDFieldDefinition.php.
References $adt_def, and initADTDefinition().
Referenced by getADT(), ilAdvancedMDFieldDefinitionText\getADTGroup(), ilAdvancedMDFieldDefinitionSelect\importNewSelectOptions(), and ilAdvancedMDFieldDefinitionSelect\update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Init ADTGroup for definitions.
| array<int,ilADTDefinition> |
Definition at line 254 of file class.ilAdvancedMDFieldDefinition.php.
References ilADTFactory\getInstance().
Referenced by ilAdvancedMDValues\getADTGroup(), and ilAdvancedMDValues\queryForRecords().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::getComplexOptionsOverview | ( | object | $a_parent_gui, |
| string | $parent_cmd | ||
| ) |
| object | $a_parent_gui | |
| string | $parent_cmd |
Definition at line 1124 of file class.ilAdvancedMDFieldDefinition.php.
|
protected |
Get all definition properties for DB.
Definition at line 762 of file class.ilAdvancedMDFieldDefinition.php.
References getDescription(), getFieldDefinition(), getImportId(), getPosition(), getRecordId(), getTitle(), getType(), isRequired(), and isSearchable().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::getDescription | ( | ) |
Get description.
Definition at line 487 of file class.ilAdvancedMDFieldDefinition.php.
References $description.
Referenced by _clone(), addToFieldDefinitionForm(), getDBProperties(), ilAdvancedMDSettingsGUI\initFieldForm(), and toXML().
Here is the caller graph for this function:
|
protected |
Get (type-specific) field definition.
Definition at line 554 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by _clone(), and getDBProperties().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::getFieldDefinitionForTableGUI | ( | string | $content_language | ) |
Parse properties for table gui.
Definition at line 562 of file class.ilAdvancedMDFieldDefinition.php.
| ilAdvancedMDFieldDefinition::getFieldId | ( | ) |
Get field_id.
Definition at line 398 of file class.ilAdvancedMDFieldDefinition.php.
References $field_id.
Referenced by addToFieldDefinitionForm(), ilAdvancedMDFieldDefinitionSelect\buildConfirmedObjects(), delete(), ilAdvancedMDFieldDefinitionSelect\deleteOptionTranslations(), ilAdvancedMDFieldDefinitionSelect\findBySingleValue(), ilAdvancedMDFieldDefinitionSelect\import(), ilAdvancedMDSettingsGUI\initFieldForm(), ilAdvancedMDFieldDefinitionSelect\prepareCustomDefinitionFormConfirmation(), save(), ilAdvancedMDFieldDefinitionSelect\saveOptionTranslations(), ilAdvancedMDFieldDefinitionInternalLink\searchObjects(), ilAdvancedMDFieldDefinitionText\searchObjects(), searchObjects(), searchSubObjects(), ilAdvancedMDFieldDefinitionSelect\update(), and update().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::getImportId | ( | ) |
Get import id.
Definition at line 433 of file class.ilAdvancedMDFieldDefinition.php.
References $import_id.
Referenced by getDBProperties(), save(), and toXML().
Here is the caller graph for this function:
|
static |
Definition at line 84 of file class.ilAdvancedMDFieldDefinition.php.
References $DIC, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ILIAS\Container\Content\Filter\FilterManager\apply(), ilAdvancedMDSettingsGUI\confirmDeleteFields(), ilAdvancedMDSettingsGUI\createField(), ilAdvancedMDSettingsGUI\deleteFields(), ilAdvancedMDSettingsGUI\editComplexOption(), ilAdvancedMDSettingsGUI\editField(), ilAdvancedMDSettingsGUI\editFields(), ilContainerFilterAdvMDAdapter\getAdvType(), ilContainerFilterUtil\getContainerFieldTitle(), ilLuceneAdvancedSearchFields\getFormElement(), ilContainerFilterAdvMDAdapter\getOptions(), ilContainerFilterAdvMDAdapter\getTitle(), ilLuceneAdvancedSearchFields\parseFieldQuery(), ilLuceneAdvancedSearchFields\readSections(), ilAdvancedMDSettingsGUI\saveField(), ilAdvancedSearchGUI\searchAdvancedMD(), ilAdvancedMDSettingsGUI\updateComplexOption(), and ilAdvancedMDSettingsGUI\updateField().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 209 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDParser\initValue().
Here is the caller graph for this function:
|
static |
Get instance by type string (used by import)
Definition at line 125 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDRecordParser\initFieldObject().
Here is the caller graph for this function:
|
static |
| string | $a_obj_type | |
| bool | $a_active_only |
Definition at line 185 of file class.ilAdvancedMDFieldDefinition.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilECSSettingsGUI\exportMappings(), ilECSSettingsGUI\importMappings(), ilAdvancedMDSettingsGUI\initFormSubstitutions(), ilECSSettingsGUI\initMappingsForm(), ilAdvancedMDRecordGUI\parseAppointmentPresentationa(), and ilAdvancedMDSettingsGUI\updateSubstitutions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get definitions by record id.
| int | $a_record_id | |
| bool | $a_only_searchable | |
| string | $language |
Definition at line 155 of file class.ilAdvancedMDFieldDefinition.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ilAdvancedMDRecord\_clone(), ilGlossaryTerm\_copyTerm(), ilAdvancedMDRecord\_delete(), ilAdvancedMDSettingsGUI\editFields(), ilAdvancedMDRecordTableGUI\fillRow(), ilObjBookingPool\getAdvancedMDFields(), ilGlossaryAdvMetaDataAdapter\getAllFields(), ilContainerFilterAdvMDAdapter\getAvailableRecordSets(), ilAdvancedMDValues\getDefinitions(), ilLuceneAdvancedSearchFields\getFields(), ilPCAMDPageList\handleCopiedContent(), ilAdvancedMDRecordGUI\parseFilter(), ilAdvancedMDRecordGUI\parseSearch(), ilAdvancedMDRecordGUI\parseTableCells(), ilAdvancedMDRecordGUI\parseTableHead(), ilAdvancedMDValues\queryForRecords(), ilAdvancedMDFieldTranslations\read(), ilAdvancedMDRecord\toXML(), and ilAdvancedMDSettingsGUI\updateFields().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get last position of record.
Definition at line 738 of file class.ilAdvancedMDFieldDefinition.php.
References getRecordId().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::getLuceneSearchString | ( | $a_value | ) |
Get search string in lucene syntax.
| string | | array |
Definition at line 1080 of file class.ilAdvancedMDFieldDefinition.php.
| ilAdvancedMDFieldDefinition::getPosition | ( | ) |
Get position.
Definition at line 449 of file class.ilAdvancedMDFieldDefinition.php.
References $position.
Referenced by _clone(), getDBProperties(), and toXML().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::getRecordId | ( | ) |
Get record id.
Definition at line 414 of file class.ilAdvancedMDFieldDefinition.php.
References $record_id.
Referenced by ilAdvancedMDFieldDefinitionText\addCustomFieldToDefinitionForm(), addToFieldDefinitionForm(), getDBProperties(), getLastPosition(), ilAdvancedMDFieldDefinitionSelect\import(), ilAdvancedMDFieldDefinitionSelect\importNewSelectOptions(), ilAdvancedMDFieldDefinitionText\initADTDefinition(), and toXML().
Here is the caller graph for this function:
|
static |
Get searchable definition ids (performance is key)
Definition at line 229 of file class.ilAdvancedMDFieldDefinition.php.
References $DIC, $ilDB, and ILIAS\Repository\int().
Referenced by ilAdvancedSearchGUI\setSubTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::getSearchQueryParserValue | ( | ilADTSearchBridge | $a_adt_search | ) |
Get value for search query parser.
| ilADTSearchBridge | $a_adt_search |
Definition at line 973 of file class.ilAdvancedMDFieldDefinition.php.
| ilAdvancedMDFieldDefinition::getSearchValueSerialized | ( | ilADTSearchBridge | $a_adt_search | ) |
Definition at line 978 of file class.ilAdvancedMDFieldDefinition.php.
References ilADTSearchBridge\getSerializedValue().
Here is the call graph for this function:| ilAdvancedMDFieldDefinition::getTitle | ( | ) |
Get title.
Definition at line 468 of file class.ilAdvancedMDFieldDefinition.php.
References $title.
Referenced by _clone(), addToFieldDefinitionForm(), getDBProperties(), and toXML().
Here is the caller graph for this function:
|
abstract |
Get type.
Referenced by getDBProperties(), getTypeTitle(), isValidType(), searchObjects(), searchSubObjects(), and toXML().
Here is the caller graph for this function:
|
staticprotected |
| ilAdvancedMDFieldDefinition::getTypeTitle | ( | ) |
Definition at line 346 of file class.ilAdvancedMDFieldDefinition.php.
References getType(), and initADTDefinition().
Referenced by ilAdvancedMDSettingsGUI\initFieldForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all valid types.
Definition at line 280 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDSettingsGUI\editFields().
Here is the caller graph for this function:
|
abstract |
Parse ADT value for xml (export)
Referenced by importXMLProperty().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::hasComplexOptions | ( | ) |
Definition at line 1114 of file class.ilAdvancedMDFieldDefinition.php.
|
protected |
Import from DB.
Definition at line 785 of file class.ilAdvancedMDFieldDefinition.php.
References importFieldDefinition(), setDescription(), setFieldId(), setImportId(), setPosition(), setRecordId(), setRequired(), setSearchable(), and setTitle().
Here is the call graph for this function:| ilAdvancedMDFieldDefinition::importCustomDefinitionFormPostValues | ( | ilPropertyFormGUI | $a_form, |
| string | $language = '' |
||
| ) |
Import custom post values from definition form.
Definition at line 675 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by importDefinitionFormPostValues().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::importDefinitionFormPostValues | ( | ilPropertyFormGUI | $a_form, |
| ilAdvancedMDPermissionHelper | $a_permissions, | ||
| string | $active_language | ||
| ) |
Import post values from definition form.
Definition at line 683 of file class.ilAdvancedMDFieldDefinition.php.
References ilAdvancedMDRecord\_getInstanceByRecordId(), ilAdvancedMDPermissionHelper\ACTION_FIELD_EDIT_PROPERTY, ilAdvancedMDPermissionHelper\CONTEXT_FIELD, ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilClaimingPermissionHelper\hasPermission(), importCustomDefinitionFormPostValues(), setDescription(), setSearchable(), setTitle(), and ilAdvancedMDPermissionHelper\SUBACTION_FIELD_PROPERTIES.
Here is the call graph for this function:| ilAdvancedMDFieldDefinition::importDefinitionFormPostValuesNeedsConfirmation | ( | ) |
Definition at line 710 of file class.ilAdvancedMDFieldDefinition.php.
|
protected |
Import (type-specific) field definition from DB.
Definition at line 547 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by import().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::importFromECS | ( | string | $a_ecs_type, |
| $a_value, | |||
| string | $a_sub_id | ||
| ) |
Import meta data from ECS.
Definition at line 954 of file class.ilAdvancedMDFieldDefinition.php.
|
abstract |
Import value from xml.
| string | $a_cdata |
Referenced by importXMLProperty().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::importXMLProperty | ( | string | $a_key, |
| string | $a_value | ||
| ) |
Import property from XML.
Definition at line 936 of file class.ilAdvancedMDFieldDefinition.php.
References getValueForXML(), and importValueFromXML().
Here is the call graph for this function:
|
protected |
Definition at line 270 of file class.ilAdvancedMDFieldDefinition.php.
References setRequired(), and setSearchable().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
Init adt instance.
Referenced by getADTDefinition(), and getTypeTitle().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::isFilterSupported | ( | ) |
Is search by filter supported.
Definition at line 503 of file class.ilAdvancedMDFieldDefinition.php.
| ilAdvancedMDFieldDefinition::isRequired | ( | ) |
Is required field.
Definition at line 539 of file class.ilAdvancedMDFieldDefinition.php.
References $required.
Referenced by _clone(), and getDBProperties().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::isSearchable | ( | ) |
Is searchable.
Definition at line 523 of file class.ilAdvancedMDFieldDefinition.php.
References $searchable.
Referenced by _clone(), addToFieldDefinitionForm(), getDBProperties(), and toXML().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::isSearchSupported | ( | ) |
Is search supported at all.
Definition at line 495 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by addToFieldDefinitionForm(), and setSearchable().
Here is the caller graph for this function:
|
static |
Definition at line 297 of file class.ilAdvancedMDFieldDefinition.php.
References getType(), and ILIAS\Repository\int().
Referenced by ilAdvancedMDClaimingPlugin\createDBField().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Add object-data needed for global search to AMD search results.
Definition at line 994 of file class.ilAdvancedMDFieldDefinition.php.
References $res.
Referenced by ilAdvancedMDFieldDefinitionInternalLink\searchObjects(), and searchObjects().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::prepareCustomDefinitionFormConfirmation | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 715 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by prepareDefinitionFormConfirmation().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::prepareDefinitionFormConfirmation | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 719 of file class.ilAdvancedMDFieldDefinition.php.
References ilPropertyFormGUI\addItem(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), and prepareCustomDefinitionFormConfirmation().
Here is the call graph for this function:| ilAdvancedMDFieldDefinition::prepareElementForEditor | ( | ilADTFormBridge | $a_bridge | ) |
Prepare editor form elements.
Definition at line 962 of file class.ilAdvancedMDFieldDefinition.php.
| ilAdvancedMDFieldDefinition::prepareElementForSearch | ( | ilADTSearchBridge | $a_bridge | ) |
Prepare search form elements.
Definition at line 1088 of file class.ilAdvancedMDFieldDefinition.php.
|
protected |
Read field definition.
Definition at line 806 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by __construct().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::save | ( | bool | $a_keep_pos = false | ) |
Create new field entry.
Definition at line 824 of file class.ilAdvancedMDFieldDefinition.php.
References generateImportId(), getDBProperties(), getFieldId(), getImportId(), getLastPosition(), setFieldId(), setImportId(), setPosition(), and update().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::searchObjects | ( | ilADTSearchBridge | $a_adt_search, |
| ilQueryParser | $a_parser, | ||
| array | $a_object_types, | ||
| string | $a_locate, | ||
| string | $a_search_type | ||
| ) |
Search objects.
Definition at line 1050 of file class.ilAdvancedMDFieldDefinition.php.
References ilADTActiveRecordByType\find(), getADT(), getFieldId(), ilADTSearchBridge\getSQLCondition(), getType(), parseSearchObjects(), and ilADTActiveRecordByType\SINGLE_COLUMN_NAME.
Here is the call graph for this function:| ilAdvancedMDFieldDefinition::searchSubObjects | ( | ilADTSearchBridge | $a_adt_search, |
| int | $a_obj_id, | ||
| string | $sub_obj_type | ||
| ) |
Definition at line 1015 of file class.ilAdvancedMDFieldDefinition.php.
References $res, ilADTActiveRecordByType\find(), getADT(), getFieldId(), ilADTSearchBridge\getSQLCondition(), getType(), and ilADTActiveRecordByType\SINGLE_COLUMN_NAME.
Here is the call graph for this function:
|
protected |
Set ADT instance.
Definition at line 380 of file class.ilAdvancedMDFieldDefinition.php.
| ilAdvancedMDFieldDefinition::setDescription | ( | string | $a_desc | ) |
Set description.
Definition at line 476 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by import(), and importDefinitionFormPostValues().
Here is the caller graph for this function:
|
protected |
Set field_id.
Definition at line 390 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by import(), and save().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::setImportId | ( | string | $a_id_string | ) |
Set import id.
Definition at line 422 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by import(), and save().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::setPosition | ( | int | $a_pos | ) |
Set position.
Definition at line 441 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by import(), and save().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::setRecordId | ( | int | $a_id | ) |
Set record id.
Definition at line 406 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by import().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::setRequired | ( | bool | $a_status | ) |
Toggle required.
Definition at line 531 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by import(), and init().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::setSearchable | ( | bool | $a_status | ) |
Toggle searchable.
Definition at line 511 of file class.ilAdvancedMDFieldDefinition.php.
References isSearchSupported().
Referenced by import(), importDefinitionFormPostValues(), and init().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::setSearchValueSerialized | ( | ilADTSearchBridge | $a_adt_search, |
| $a_value | |||
| ) |
Set value from search persistence.
Definition at line 986 of file class.ilAdvancedMDFieldDefinition.php.
References ilADTSearchBridge\setSerializedValue().
Here is the call graph for this function:| ilAdvancedMDFieldDefinition::setTitle | ( | string | $a_title | ) |
Get title.
Definition at line 457 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by import(), and importDefinitionFormPostValues().
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::toXML | ( | ilXmlWriter | $a_writer | ) |
To Xml.
This method writes only the subset Field Use class.ilAdvancedMDRecordXMLWriter to generate a complete xml presentation.
Definition at line 890 of file class.ilAdvancedMDFieldDefinition.php.
References addPropertiesToXML(), getDescription(), getImportId(), ilAdvancedMDFieldTranslations\getInstanceByRecordId(), getPosition(), getRecordId(), getTitle(), getType(), isSearchable(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:| ilAdvancedMDFieldDefinition::update | ( | ) |
Update field entry.
Definition at line 854 of file class.ilAdvancedMDFieldDefinition.php.
References getDBProperties(), getFieldId(), and save().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDFieldDefinition::useDefaultLanguageMode | ( | string | $language | ) |
Check if default language mode has to be used: no language given or language equals default language.
Definition at line 334 of file class.ilAdvancedMDFieldDefinition.php.
References $language, and ilAdvancedMDRecord\_getInstanceByRecordId().
Referenced by ilAdvancedMDFieldDefinitionSelect\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionInteger\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionInteger\getFieldDefinitionForTableGUI(), ilAdvancedMDFieldDefinitionInteger\importCustomDefinitionFormPostValues(), and ilAdvancedMDFieldDefinitionSelect\importNewSelectOptions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 53 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDFieldDefinitionGroupBased\exportOptionToTableGUI(), getADT(), ilAdvancedMDFieldDefinitionGroupBased\getADTForOption(), ilAdvancedMDFieldDefinitionExternalLink\importValueFromXML(), ilAdvancedMDFieldDefinitionLocation\importValueFromXML(), ilAdvancedMDFieldDefinitionGroupBased\initOptionForm(), and ilAdvancedMDFieldDefinitionGroupBased\updateComplexOption().
|
protected |
Definition at line 52 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by getADTDefinition().
|
protected |
Definition at line 57 of file class.ilAdvancedMDFieldDefinition.php.
|
protected |
Definition at line 49 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by getDescription().
|
protected |
Definition at line 44 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by getFieldId().
|
protected |
Definition at line 60 of file class.ilAdvancedMDFieldDefinition.php.
|
protected |
Definition at line 46 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by getImportId().
|
protected |
Definition at line 55 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDFieldDefinitionSelect\__construct(), __construct(), ilAdvancedMDFieldDefinitionFloat\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionSelect\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionInteger\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionSelect\addCustomFieldToDefinitionFormInTranslationMode(), ilAdvancedMDFieldDefinitionSelect\getOptionTranslation(), ilAdvancedMDFieldDefinitionSelectMulti\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionFloat\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionInteger\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionSelect\importCustomDefinitionFormPostValues(), ilAdvancedMDFieldDefinitionSelect\importNewSelectOptions(), ilAdvancedMDFieldDefinitionSelect\importTranslatedFormPostValues(), ilAdvancedMDFieldDefinitionSelectMulti\initADTDefinition(), ilAdvancedMDFieldDefinitionSelect\initADTDefinition(), ilAdvancedMDFieldDefinitionSelect\setOptionTranslationsForLanguage(), ilAdvancedMDFieldDefinitionInteger\setSuffixTranslation(), and useDefaultLanguageMode().
|
protected |
Definition at line 58 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDFieldDefinitionGroupBased\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionFloat\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionText\addCustomFieldToDefinitionForm(), ilAdvancedMDFieldDefinitionGroupBased\getFieldDefinitionForTableGUI(), ilAdvancedMDFieldDefinitionFloat\getFieldDefinitionForTableGUI(), ilAdvancedMDFieldDefinitionSelect\getFieldDefinitionForTableGUI(), ilAdvancedMDFieldDefinitionText\getFieldDefinitionForTableGUI(), ilAdvancedMDFieldDefinitionAddress\getTitles(), ilAdvancedMDFieldDefinitionGroupBased\initOptionForm(), and ilAdvancedMDFieldDefinitionSelect\prepareCustomDefinitionFormConfirmation().
|
protected |
Definition at line 59 of file class.ilAdvancedMDFieldDefinition.php.
|
protected |
Definition at line 47 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDFieldDefinitionSelect\addEditOptionsFieldsToDefinitionForm(), and getPosition().
|
protected |
Definition at line 45 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by getRecordId().
|
protected |
Definition at line 61 of file class.ilAdvancedMDFieldDefinition.php.
|
protected |
Definition at line 51 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by isRequired().
|
protected |
Definition at line 50 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by isSearchable().
|
protected |
Definition at line 48 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDFieldDefinitionSelect\addCustomFieldToDefinitionFormInTranslationMode(), ilAdvancedMDFieldDefinitionGroupBased\exportOptionToTableGUI(), getTitle(), ilAdvancedMDFieldDefinitionGroupBased\initOptionForm(), and ilAdvancedMDFieldDefinitionSelect\prepareCustomDefinitionFormConfirmation().
| const ilAdvancedMDFieldDefinition::TYPE_ADDRESS = 99 |
Definition at line 40 of file class.ilAdvancedMDFieldDefinition.php.
| const ilAdvancedMDFieldDefinition::TYPE_DATE = 3 |
Definition at line 34 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilTermListTableGUI\numericOrdering(), ilPresentationListTableGUI\numericOrdering(), and ilBookingObjectsTableGUI\numericOrdering().
| const ilAdvancedMDFieldDefinition::TYPE_DATETIME = 4 |
Definition at line 35 of file class.ilAdvancedMDFieldDefinition.php.
| const ilAdvancedMDFieldDefinition::TYPE_EXTERNAL_LINK = 9 |
Definition at line 41 of file class.ilAdvancedMDFieldDefinition.php.
| const ilAdvancedMDFieldDefinition::TYPE_FLOAT = 6 |
Definition at line 37 of file class.ilAdvancedMDFieldDefinition.php.
| const ilAdvancedMDFieldDefinition::TYPE_INTEGER = 5 |
Definition at line 36 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilContainerFilterUtil\getContainerRecordTitle().
| const ilAdvancedMDFieldDefinition::TYPE_INTERNAL_LINK = 10 |
Definition at line 42 of file class.ilAdvancedMDFieldDefinition.php.
| const ilAdvancedMDFieldDefinition::TYPE_LOCATION = 7 |
Definition at line 38 of file class.ilAdvancedMDFieldDefinition.php.
| const ilAdvancedMDFieldDefinition::TYPE_SELECT = 1 |
Definition at line 32 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDClaimingPlugin\createDBField(), and ilContainerFilterUtil\getContainerRecordTitle().
| const ilAdvancedMDFieldDefinition::TYPE_SELECT_MULTI = 8 |
Definition at line 39 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilAdvancedMDClaimingPlugin\createDBField(), and ilContainerFilterUtil\getContainerRecordTitle().
| const ilAdvancedMDFieldDefinition::TYPE_TEXT = 2 |
Definition at line 33 of file class.ilAdvancedMDFieldDefinition.php.
Referenced by ilContainerFilterUtil\getContainerRecordTitle().