|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilObjGlossary:
Collaboration diagram for ilObjGlossary:Public Member Functions | |
| __construct (int $a_id=0, bool $a_call_by_reference=true) | |
| create (bool $a_upload=false) | |
| read () | |
| setVirtualMode (string $a_mode) | |
| getVirtualMode () | |
| isVirtual () | |
| setPresentationMode (string $a_val) | |
| getPresentationMode () | |
| setSnippetLength (int $a_val) | |
| Set definition snippet length (in overview) More... | |
| getSnippetLength () | |
| setOnline (bool $a_online) | |
| getOnline () | |
| setActiveGlossaryMenu (bool $a_act_glo_menu) | |
| isActiveGlossaryMenu () | |
| setActiveDownloads (bool $a_down) | |
| isActiveDownloads () | |
| setShowTaxonomy (bool $a_val) | |
| getShowTaxonomy () | |
| setAutoGlossaries (array $a_val) | |
| addAutoGlossary (int $glo_id) | |
| getAutoGlossaries () | |
| removeAutoGlossary (int $a_glo_id) | |
| update () | |
| updateAutoGlossaries () | |
| getTermList (string $searchterm="", string $a_letter="", string $a_def="", int $a_tax_node=0, bool $a_include_offline_childs=false, bool $a_add_amet_fields=false, array $a_amet_filter=null, bool $a_omit_virtual=false, bool $a_include_references=false) | |
| getFirstLetters (int $a_tax_node=0) | |
| getAllGlossaryIds (bool $a_include_offline_childs=false, bool $ids_are_ref_ids=false) | |
| Get all glossary ids. More... | |
| createImportDirectory () | |
| creates data directory for import files (data_dir/glo_data/glo_<id>/import, depending on data directory that is set in ILIAS setup/ini) More... | |
| getImportDirectory () | |
| createExportDirectory (string $a_type="xml") | |
| getExportDirectory (string $a_type="xml") | |
| getExportFiles () | |
| Get export files. More... | |
| setPublicExportFile (string $a_type, string $a_file) | |
| specify public export file for type More... | |
| getPublicExportFile (string $a_type) | |
| get public export file More... | |
| exportXML (ilXmlWriter $a_xml_writer, int $a_inst, string $a_target_dir, ilLog $expLog) | |
| exportXMLGlossaryItems (ilXmlWriter $a_xml_writer, int $a_inst, ilLog $expLog) | |
| exportXMLMetaData (ilXmlWriter $a_xml_writer) | |
| exportXMLMediaObjects (ilXmlWriter $a_xml_writer, int $a_inst, string $a_target_dir, ilLog $expLog) | |
| exportFileItems (string $a_target_dir, ilLog $expLog) | |
| modifyExportIdentifier (string $a_tag, string $a_param, string $a_value) | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| getXMLZip () | |
| getTaxonomyId () | |
| cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false) | |
| removeOfflineGlossaries (array $a_glo_ids, bool $ids_are_ref_ids=false) | |
| Remove offline glossaries from obj id array. More... | |
| autoLinkGlossaryTerms (int $a_glo_ref_id) | |
| Auto link glossary terms. More... | |
| supportsLongTextQuery () | |
| Is long text search supported. More... | |
Public Member Functions inherited from ilObject | |
| __construct (int $id=0, bool $reference=true) | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $desc) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
| static | _lookupOnline (int $a_id) |
| static | lookupSnippetLength (int $a_id) |
| static | lookupAutoGlossaries (int $a_id) |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getAdvMDSubItemTitle (int $a_obj_id, string $a_sub_type, int $a_sub_id) |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) |
| Get (latest) object id for an import id. More... | |
| static | _lookupImportId (int $obj_id) |
| static | _lookupOwnerName (int $owner_id) |
| Lookup owner name for owner id. More... | |
| static | _getIdForImportId (string $import_id) |
| static | _getAllReferences (int $id) |
| get all reference ids for object ID More... | |
| static | _lookupTitle (int $obj_id) |
| static | lookupOfflineStatus (int $obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner (int $obj_id) |
| Lookup owner user ID for object ID. More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
| static | _lookupDescription (int $obj_id) |
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
| static | _getLastUpdateOfObjects (array $obj_ids) |
| static | _lookupObjId (int $ref_id) |
| static | _setDeletedDate (int $ref_id, int $deleted_by) |
| static | setDeletedDates (array $ref_ids, int $user_id) |
| static | _resetDeletedDate (int $ref_id) |
| static | _lookupDeletedDate (int $ref_id) |
| static | _writeTitle (int $obj_id, string $title) |
| write title to db (static) More... | |
| static | _writeDescription (int $obj_id, string $desc) |
| write description to db (static) More... | |
| static | _writeImportId (int $obj_id, string $import_id) |
| write import id to db (static) More... | |
| static | _lookupType (int $id, bool $reference=false) |
| static | _isInTrash (int $ref_id) |
| static | _hasUntrashedReference (int $obj_id) |
| checks whether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId (int $ref_id) |
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) |
| checks if an object exists in object_data More... | |
| static | _getObjectsByType (string $obj_type="", int $owner=null) |
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) |
| static | getAdvMDSubItemTitle (int $a_obj_id, string $a_sub_type, int $a_sub_id) |
Data Fields | |
| array | $auto_glossaries = array() |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| const | DESC_LENGTH = 128 |
| const | LONG_DESC_LENGTH = 4000 |
| const | TABLE_OBJECT_DATA = "object_data" |
| array | $objectList |
| string | $untranslatedTitle |
Static Protected Member Functions | |
| static | lookup (int $a_id, string $a_property) |
| Lookup glossary property. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
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
Definition at line 22 of file class.ilObjGlossary.php.
| ilObjGlossary::__construct | ( | int | $id = 0, |
| bool | $reference = true |
||
| ) |
| int | $id | reference_id or object_id |
| bool | $reference | bool treat the id as reference_id (true) or object_id (false) |
Reimplemented from ilObject.
Definition at line 43 of file class.ilObjGlossary.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Definition at line 182 of file class.ilObjGlossary.php.
Referenced by ilRepositoryExplorer\isClickable(), and ilRepositoryExplorerGUI\isNodeClickable().
Here is the caller graph for this function:| ilObjGlossary::addAutoGlossary | ( | int | $glo_id | ) |
Definition at line 263 of file class.ilObjGlossary.php.
References ilObject\_lookupType().
Here is the call graph for this function:| ilObjGlossary::autoLinkGlossaryTerms | ( | int | $a_glo_ref_id | ) |
Auto link glossary terms.
Definition at line 841 of file class.ilObjGlossary.php.
| ilObjGlossary::cloneObject | ( | int | $target_id, |
| int | $copy_id = 0, |
||
| bool | $omit_tree = false |
||
| ) |
Definition at line 721 of file class.ilObjGlossary.php.
References Vendor\Package\$a, $target_id, ilGlossaryTerm\_copyTerm(), ilCopyWizardOptions\_getInstance(), ILIAS\Survey\Mode\getId(), ilGlossaryTerm\getTermList(), and ilObjTaxonomy\saveUsage().
Here is the call graph for this function:| ilObjGlossary::create | ( | bool | $a_upload = false | ) |
Definition at line 59 of file class.ilObjGlossary.php.
References ilObject\$id, ilObject\createMetaData(), ilObject\getId(), getVirtualMode(), setPresentationMode(), setSnippetLength(), and updateAutoGlossaries().
Here is the call graph for this function:| ilObjGlossary::createExportDirectory | ( | string | $a_type = "xml" | ) |
Definition at line 491 of file class.ilObjGlossary.php.
References ilExport\_createExportDirectory(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjGlossary::createImportDirectory | ( | ) |
creates data directory for import files (data_dir/glo_data/glo_<id>/import, depending on data directory that is set in ILIAS setup/ini)
Definition at line 461 of file class.ilObjGlossary.php.
References ilFileUtils\getDataDir(), ILIAS\Survey\Mode\getId(), and ilFileUtils\makeDir().
Here is the call graph for this function:| ilObjGlossary::delete | ( | ) |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!!
Reimplemented from ilObject.
Definition at line 659 of file class.ilObjGlossary.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjGlossary::exportFileItems | ( | string | $a_target_dir, |
| ilLog | $expLog | ||
| ) |
Definition at line 636 of file class.ilObjGlossary.php.
References ilLog\write().
Here is the call graph for this function:| ilObjGlossary::exportXML | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst, | ||
| string | $a_target_dir, | ||
| ilLog | $expLog | ||
| ) |
Definition at line 530 of file class.ilObjGlossary.php.
| ilObjGlossary::exportXMLGlossaryItems | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst, | ||
| ilLog | $expLog | ||
| ) |
Definition at line 584 of file class.ilObjGlossary.php.
| ilObjGlossary::exportXMLMediaObjects | ( | ilXmlWriter | $a_xml_writer, |
| int | $a_inst, | ||
| string | $a_target_dir, | ||
| ilLog | $expLog | ||
| ) |
Definition at line 621 of file class.ilObjGlossary.php.
References ilLog\write().
Here is the call graph for this function:| ilObjGlossary::exportXMLMetaData | ( | ilXmlWriter | $a_xml_writer | ) |
Definition at line 612 of file class.ilObjGlossary.php.
|
static |
Implements ilAdvancedMetaDataSubItems.
Definition at line 824 of file class.ilObjGlossary.php.
References $DIC, $lng, and ilGlossaryTerm\_lookGlossaryTerm().
Here is the call graph for this function:| ilObjGlossary::getAllGlossaryIds | ( | bool | $a_include_offline_childs = false, |
| bool | $ids_are_ref_ids = false |
||
| ) |
Get all glossary ids.
Definition at line 395 of file class.ilObjGlossary.php.
References ILIAS\Survey\Mode\getId(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjGlossary::getAutoGlossaries | ( | ) |
Definition at line 274 of file class.ilObjGlossary.php.
Referenced by ilGlossaryAutoLinkTableGUI\__construct().
Here is the caller graph for this function:
|
static |
Get deletion dependencies.
Reimplemented from ilObject.
Definition at line 695 of file class.ilObjGlossary.php.
References $DIC, $lng, and ilObjSAHSLearningModule\getScormModulesForGlossary().
Here is the call graph for this function:| ilObjGlossary::getExportDirectory | ( | string | $a_type = "xml" | ) |
Definition at line 496 of file class.ilObjGlossary.php.
References ilExport\_getExportDirectory(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjGlossary::getExportFiles | ( | ) |
Get export files.
Definition at line 504 of file class.ilObjGlossary.php.
References ilExport\_getExportFiles(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjGlossary::getFirstLetters | ( | int | $a_tax_node = 0 | ) |
Definition at line 383 of file class.ilObjGlossary.php.
| ilObjGlossary::getImportDirectory | ( | ) |
Definition at line 484 of file class.ilObjGlossary.php.
References ilFileUtils\getDataDir(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjGlossary::getOnline | ( | ) |
| ilObjGlossary::getPresentationMode | ( | ) |
Definition at line 154 of file class.ilObjGlossary.php.
References $pres_mode.
| ilObjGlossary::getPublicExportFile | ( | string | $a_type | ) |
get public export file
| string | $a_type | type ("xml" / "html") |
Definition at line 525 of file class.ilObjGlossary.php.
| ilObjGlossary::getShowTaxonomy | ( | ) |
Definition at line 246 of file class.ilObjGlossary.php.
| ilObjGlossary::getSnippetLength | ( | ) |
Definition at line 165 of file class.ilObjGlossary.php.
| ilObjGlossary::getTaxonomyId | ( | ) |
Definition at line 710 of file class.ilObjGlossary.php.
References ILIAS\Survey\Mode\getId(), and ilObjTaxonomy\getUsageOfObject().
Here is the call graph for this function:| ilObjGlossary::getTermList | ( | string | $searchterm = "", |
| string | $a_letter = "", |
||
| string | $a_def = "", |
||
| int | $a_tax_node = 0, |
||
| bool | $a_include_offline_childs = false, |
||
| bool | $a_add_amet_fields = false, |
||
| array | $a_amet_filter = null, |
||
| bool | $a_omit_virtual = false, |
||
| bool | $a_include_references = false |
||
| ) |
Definition at line 354 of file class.ilObjGlossary.php.
| ilObjGlossary::getVirtualMode | ( | ) |
Definition at line 139 of file class.ilObjGlossary.php.
References $virtual_mode.
Referenced by create().
Here is the caller graph for this function:| ilObjGlossary::getXMLZip | ( | ) |
Reimplemented from ilObject.
Definition at line 689 of file class.ilObjGlossary.php.
| ilObjGlossary::isActiveDownloads | ( | ) |
Definition at line 236 of file class.ilObjGlossary.php.
| ilObjGlossary::isActiveGlossaryMenu | ( | ) |
Definition at line 226 of file class.ilObjGlossary.php.
| ilObjGlossary::isVirtual | ( | ) |
|
staticprotected |
Lookup glossary property.
Definition at line 200 of file class.ilObjGlossary.php.
|
static |
Definition at line 335 of file class.ilObjGlossary.php.
Referenced by ilGlossaryDefPage\beforePageContentUpdate().
Here is the caller graph for this function:
|
static |
Definition at line 215 of file class.ilObjGlossary.php.
Referenced by ilGlossaryDefinition\shortenShortText().
Here is the caller graph for this function:| ilObjGlossary::modifyExportIdentifier | ( | string | $a_tag, |
| string | $a_param, | ||
| string | $a_value | ||
| ) |
Definition at line 648 of file class.ilObjGlossary.php.
References ILIAS\Survey\Mode\getId(), and IL_INST_ID.
Here is the call graph for this function:| ilObjGlossary::read | ( | ) |
Reimplemented from ilObject.
Definition at line 87 of file class.ilObjGlossary.php.
References ilObject\getId(), setActiveDownloads(), setActiveGlossaryMenu(), setAutoGlossaries(), setOnline(), setPresentationMode(), setPublicExportFile(), setShowTaxonomy(), setSnippetLength(), setVirtualMode(), and ilUtil\yn2tf().
Here is the call graph for this function:| ilObjGlossary::removeAutoGlossary | ( | int | $a_glo_id | ) |
Definition at line 279 of file class.ilObjGlossary.php.
| ilObjGlossary::removeOfflineGlossaries | ( | array | $a_glo_ids, |
| bool | $ids_are_ref_ids = false |
||
| ) |
Remove offline glossaries from obj id array.
Definition at line 791 of file class.ilObjGlossary.php.
References $id, and ilObject\_lookupObjectId().
Here is the call graph for this function:| ilObjGlossary::setActiveDownloads | ( | bool | $a_down | ) |
Definition at line 231 of file class.ilObjGlossary.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGlossary::setActiveGlossaryMenu | ( | bool | $a_act_glo_menu | ) |
Definition at line 221 of file class.ilObjGlossary.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGlossary::setAutoGlossaries | ( | array | $a_val | ) |
| int[] | $a_val |
Definition at line 254 of file class.ilObjGlossary.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGlossary::setOnline | ( | bool | $a_online | ) |
Definition at line 172 of file class.ilObjGlossary.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGlossary::setPresentationMode | ( | string | $a_val | ) |
Definition at line 149 of file class.ilObjGlossary.php.
Referenced by create(), and read().
Here is the caller graph for this function:| ilObjGlossary::setPublicExportFile | ( | string | $a_type, |
| string | $a_file | ||
| ) |
specify public export file for type
| string | $a_type | type ("xml" / "html") |
| string | $a_file | file name |
Definition at line 514 of file class.ilObjGlossary.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGlossary::setShowTaxonomy | ( | bool | $a_val | ) |
Definition at line 241 of file class.ilObjGlossary.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGlossary::setSnippetLength | ( | int | $a_val | ) |
Set definition snippet length (in overview)
Definition at line 160 of file class.ilObjGlossary.php.
Referenced by create(), and read().
Here is the caller graph for this function:| ilObjGlossary::setVirtualMode | ( | string | $a_mode | ) |
Definition at line 122 of file class.ilObjGlossary.php.
Referenced by read().
Here is the caller graph for this function:| ilObjGlossary::supportsLongTextQuery | ( | ) |
Is long text search supported.
Definition at line 879 of file class.ilObjGlossary.php.
| ilObjGlossary::update | ( | ) |
Reimplemented from ilObject.
Definition at line 291 of file class.ilObjGlossary.php.
References ILIAS\Survey\Mode\getId(), and ilUtil\tf2yn().
Here is the call graph for this function:| ilObjGlossary::updateAutoGlossaries | ( | ) |
Definition at line 317 of file class.ilObjGlossary.php.
References ILIAS\Survey\Mode\getId().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:| array ilObjGlossary::$auto_glossaries = array() |
Definition at line 38 of file class.ilObjGlossary.php.
|
protected |
Definition at line 24 of file class.ilObjGlossary.php.
|
protected |
Definition at line 30 of file class.ilObjGlossary.php.
|
protected |
Definition at line 26 of file class.ilObjGlossary.php.
|
protected |
Definition at line 31 of file class.ilObjGlossary.php.
|
protected |
Definition at line 27 of file class.ilObjGlossary.php.
|
protected |
Definition at line 32 of file class.ilObjGlossary.php.
Referenced by getOnline().
|
protected |
Definition at line 25 of file class.ilObjGlossary.php.
|
protected |
Definition at line 34 of file class.ilObjGlossary.php.
Referenced by getPresentationMode().
|
protected |
Definition at line 40 of file class.ilObjGlossary.php.
|
protected |
Definition at line 28 of file class.ilObjGlossary.php.
|
protected |
Definition at line 33 of file class.ilObjGlossary.php.
|
protected |
Definition at line 29 of file class.ilObjGlossary.php.
|
protected |
Definition at line 37 of file class.ilObjGlossary.php.
|
protected |
Definition at line 39 of file class.ilObjGlossary.php.
|
protected |
Definition at line 35 of file class.ilObjGlossary.php.
Referenced by isVirtual().
|
protected |
Definition at line 36 of file class.ilObjGlossary.php.
Referenced by getVirtualMode().