ILIAS  release_8 Revision v8.23
Deprecated List
Global ActiveRecord::getFirstFromLastQuery ()
Global ActiveRecord::installConnector ()
Do not use in Core DB-update.
Global ActiveRecord::installDatabase ()
never use in ILIAS Core, Plugins only
Global ActiveRecord::installDB ()
Do not use in Core DB-update.
Global ActiveRecord::removeDBField (string $field_name)
never use in ILIAS Core, Plugins only
Global ActiveRecord::resetDB ()
never use in ILIAS Core, Plugins only
Global ActiveRecord::returnDbTableName ()
Global ActiveRecord::truncateDB ()
never use in ILIAS Core, Plugins only
Global ActiveRecord::updateDB ()
never use in ILIAS Core, Plugins only
Global ActiveRecordList::getFirstFromLastQuery ()
Global ActiveRecordList::loadLastQuery ()
Global arFieldList::getInstanceFromStorage ( $ar)
Global ASS_AnswerTrueFalse::isFalse ()
Use isIncorrect instead.
Global ASS_AnswerTrueFalse::isTrue ()
Use isCorrect instead.
Global ASS_AnswerTrueFalse::setFalse ()
Use setCorrectness instead.
Global ASS_AnswerTrueFalse::setTrue ()
Use setCorrectness instead.
Global assOrderingQuestion::copyImages ($question_id, $source_questionpool)
(!) simply use the working method duplicateImages(), we do not search the difference here and we will delete this soon (!) currently no usage found, remove for il5.3
Global assOrderingQuestion::getOrderElements ()
seriously, stop looking for this kind data at this point (!) look where it comes from and learn (!)
Global assQuestion::__get ($value)
Simply do not use this.
Global assQuestion::__isset ($key)
Simply do not use this.
Global assQuestion::__set ($key, $value)
Simply do not use this.
Global assQuestion::_getSuggestedSolution (int $question_id, int $subquestion_index=0)
Use loadSuggestedSolution instead ILIAS 9
Global assQuestion::_instanciateQuestion (int $question_id)
use assQuestion::instantiateQuestion() instead.
Global assQuestion::_instanciateQuestionGUI (int $question_id)
Use instantiateQuestionGUI (without legacy underscore & typos) instead.
Global assQuestion::_instantiateQuestion (int $question_id)
use assQuestion::instantiateQuestion() instead.
Global assQuestion::getFlashPath ()
Flash is obsolete
Global assQuestion::isHTML ($a_text)
use ilUtil::isHTML() (or successor) instead
Global assQuestion::lookupCurrentTestPass (int $active_id, int $pass)
Use ilObjTest::_getPass($active_id) instead ILIAS 9
Global assQuestion::lookupOriginalParentObjId (int $originalQuestionId)
: use assQuestion::lookupParentObjId() instead
Global assQuestion::prepareTextareaOutput (string $txt_output, bool $prepare_for_latex_output=false, bool $omitNl2BrWhenTextArea=false)
use ilUtil::prepareTextareaOutput() (or successor) instead
Global assQuestion::setNewOriginalId (int $newId)
Global assQuestionGUI::_getClassNameForQType ($q_type)
Global assQuestionGUI::_getGUIClassNameForId ($a_q_id)
Global assQuestionGUI::cleanupAnswerText (array $answer_text, bool $is_rte)
Global ilADNDismiss::returnDbTableName ()
Global ilADNNotification::returnDbTableName ()
Class ilAdvancedSelectionListGUI
use KS Dropdowns instead
Global ilAdvancedSelectionListGUI::setSelectionHeaderClass (string $a_selectionheaderclass)
Global ilAlphabetInputGUI::dbSupportsDisctinctUmlauts ()
Class ilArrayUtil
The 2021 Technical Board has decided to mark the ilUtil class as deprecated. The ilUtil is a historically grown helper class with many different UseCases and functions. The class is not under direct maintainership and the responsibilities are unclear. In this context, the class should no longer be used in the code and existing uses should be converted to their own service in the medium term. If you need ilUtil for the implementation of a new function in ILIAS > 7, please contact the Technical Board.
Global ilArrayUtil::quoteArray (array $a_array)
Global ilArrayUtil::sort_func (array $left, array $right)
Global ilArrayUtil::sort_func_numeric (array $left, array $right)
Global ilArrayUtil::sortArray (array $array, string $a_array_sortby_key, string $a_array_sortorder="asc", bool $a_numeric=false, bool $a_keep_keys=false)
Global ilArrayUtil::stableSortArray (array $array, string $a_array_sortby, string $a_array_sortorder="asc", bool $a_numeric=false)
Global ilArrayUtil::stripSlashesArray (array $a_arr, bool $a_strip_html=true, string $a_allow="")
Global ilArrayUtil::stripSlashesRecursive ($a_data, bool $a_strip_html=true, string $a_allow="")
Global ilBenchmark::start (string $a_module, string $a_bench)
Global ilBenchmark::stop (string $a_module, string $a_bench)
Global ilBiblDataInterface::getFilename ()
Global ilBiblDataInterface::setFilename (string $filename)
Global ilBiblEntryFactory::getAttributes ()
REFACTOR nach refactoring von loadAttributes Methoden die getAttributes verwenden entsprechend anpassen. (Statt Array Objekte verwenden)
Global ilBiblEntryFactoryInterface::findByIdAndTypeString (int $id, string $type_string)
REFACTOR This has to be refactored to type_id and not type_string
Class ilBiblEntryTableGUI
REFACTOR
Global ilBiblEntryTablePresentationGUI::render ()
Has to be refactored.
Global ilBiblLibraryPresentationGUI::formatAttribute (string $a, ilBiblTypeInterface $type, array $attributes, string $prefix)
REFACTOR type via type factory verwenden
Global ilBiblLibraryPresentationGUI::generateLibraryLink (ilBiblEntry $entry, string $type)
REFACTOR Mit Attribute Objekten arbeiten statt mit Array.
Global ilBiblTypeFactoryInterface::getInstanceForString (string $string)
Legacy REFACTOR use type factory
Class ilButton
use KS Buttons instead
Class ilButtonBase
use KS Buttons instead
Class ilCharSelectorGUI
needs to be moved to KS
Global ilChatroomFormFactory::getCreationForm ()
replaced by default creation screens
Global ilChatroomServerConnector::enterPrivateRoom (int $scope, int $subScope, int $user)
Please use sendEnterPrivateRoom instead
Class ilCheckboxListOverlayGUI
only used in legacy tables, do not introduce this anywhere else
Global ilClozeGapInputBuilderGUI::stripSlashesRecursive ($a_data, bool $a_strip_html=true, string $a_allow="")
Global ilContainerObjectiveGUI::showStatus ()
(?)
Class ilContainerSelectionExplorer
Global ilCourseContentGUI::__renderUserItem (array $item, int $level)
Global ilCourseContentGUI::showUserTimings ()
Global ilCSVUtil::processCSVRow (array &$row, bool $quoteAll=false, string $separator=";", bool $outUTF8=false, bool $compatibleWithMSExcel=true)
Global ilCtrl::getTableCommand ()
Global ilCtrlInterface::getClassForClasspath (string $a_class_path)
if you know the classpath you most likely called lookupClassPath already, which means you already know the classname.
Global ilCtrlInterface::getContextObjId ()
setParameterByClass, setParameter, saveParameterByClass or saveParameter should be used.
Global ilCtrlInterface::getContextObjType ()
setParameterByClass, setParameter, saveParameterByClass or saveParameter should be used.
Global ilCtrlInterface::getParentReturn (object $a_gui_obj)
Used in conjunction with ilTabs->setBackTarget and ilBlockGUI->addHeaderCommand.
Global ilCtrlInterface::getParentReturnByClass (string $a_class)
Global ilCtrlInterface::insertCtrlCalls ($a_parent, $a_child, string $a_comp_prefix)
Due to the change of storing data in an artifact, this method should no longer be used. If an error is thrown at this point, it's probably solved by the correct or statements.
Global ilCtrlInterface::returnToParent (object $a_gui_obj, string $a_anchor=null)
Global ilCtrlInterface::setCmd (?string $a_cmd)
this method should not be used anymore and will be removed with ILIAS 10.
Global ilCtrlInterface::setCmdClass ($a_cmd_class)
this method should not be used anymore and will be removed with ILIAS 10.
Global ilCtrlInterface::setContextObject (int $obj_id, string $obj_type)
setParameterByClass, setParameter, saveParameterByClass or saveParameter should be used.
Class ilCustomInputGUI
Deprecated since 4.4, inherit directly from InputGUI instead
Class ilDBAnalyzer
Use global ilDB only. If something is missing there, please contact fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Global ilDBAnalyzer::__construct (ilDBInterface $ilDBInterface=null)
Use global ilDB only. If something is missing there, please contact fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Global ilDBAnalyzer::hasSequence (string $a_table)
Please do not use since this method will lead to a ilDatabaseException. Will be removed later
Global ilDBGenerator::lookupAbstractedTables ()
abstraction_progress is no longer used in ILIAS
Global ilDBInterface::lockTables (array $tables)
Use ilAtomQuery instead
Global ilDBInterface::unlockTables ()
Use ilAtomQuery instead
Global ilDBInterface::useSlave (bool $bool)
Global ilDBPdo::lockTables (array $tables)
Use ilAtomQuery instead
Global ilDBPdo::unlockTables ()
Use ilAtomQuery instead
Global ilDBPdoFieldDefinition::quoteTime (int $value, bool $quote, bool $escape_wildcards)
Global ilDBPdoFieldDefinition::quoteTimestamp (int $value, bool $quote, bool $escape_wildcards)
Global ilDBUpdate3136::addStyleClass (string $class, string $type, string $tag, array $parameters=[], int $hide=0)
use Services/Style/classes/Setup/class.ilStyleClassAddedObjective.php instead
Global ilDBUpdate3136::copyStyleClass (string $orig_class, string $class, string $type, string $tag, int $hide=0)
use Services/Style/classes/Setup/class.ilStyleClassCopiedObjective.php instead
Global ilDBUpdateNewObjectType::addAdminNode (string $obj_type, string $title)
use Services/Tree/classes/Setup/class.ilTreeAdminNodeAddedObjective.php instead
Global ilDBUpdateNewObjectType::addCustomRBACOperation (string $id, string $title, string $class, int $pos)
use Services/AccessControl/classes/Setup/class.ilAccessCustomRBACOperationAddedObjective.php instead
Global ilDBUpdateNewObjectType::addNewType (string $type_id, string $type_title)
use Services/Object/classes/Setup/class.ilObjectNewTypeAddedObjective.php instead
Global ilDBUpdateNewObjectType::addRBACCreate (string $id, string $title, array $parent_types)
use Services/AccessControl/classes/Setup/class.ilAccessCustomRBACOperationAddedObjective.php instead use 'create' for class param
Global ilDBUpdateNewObjectType::addRBACOperation (int $type_id, int $ops_id)
use Services/AccessControl/classes/Setup/class.ilAccessRBACOperationsAddedObjective.php instead
Global ilDBUpdateNewObjectType::addRBACOperations (int $type_id, array $operations)
use Services/AccessControl/classes/Setup/class.ilAccessRBACOperationsAddedObjective.php instead
Global ilDBUpdateNewObjectType::applyInitialPermissionGuideline (string $objectType, bool $hasLearningProgress=false, bool $usedForAuthoring=false)
use Services/AccessControl/classes/Setup/class.ilAccessInitialPermissionGuidelineAppliedObjective.php instead
Global ilDBUpdateNewObjectType::cloneOperation (string $obj_type, int $source_op_id, int $target_op_id)
use Services/AccessControl/classes/Setup/class.ilAccessRBACOperationClonedObjective.php instead
Global ilDBUpdateNewObjectType::deleteRBACOperation (string $type, int $ops_id)
use Services/AccessControl/classes/Setup/class.ilAccessRBACOperationDeletedObjective.php instead
Global ilDBUpdateNewObjectType::deleteRBACTemplateOperation (string $type, int $ops_id)
use Services/AccessControl/classes/Setup/class.ilAccessRBACOperationDeletedObjective.php instead
Global ilDBUpdateNewObjectType::getCustomRBACOperationId (string $operation)
use ilRbacReview::_getCustomRBACOperationId instead
Global ilDBUpdateNewObjectType::getObjectTypeId (string $type)
use ilObject::_getObjectTypeIdByTitle() instead
Global ilDBUpdateNewObjectType::isRBACOperation (int $type_id, int $ops_id)
use ilRbacReview::_isRBACOperation instead
Global ilDBUpdateNewObjectType::isValidRBACOperation (int $ops_id)
Global ilDBUpdateNewObjectType::setRolePermission (int $a_rol_id, string $a_type, array $a_ops, int $a_ref_id)
use Services/AccessControl/classes/Setup/class.ilAccessRolePermissionSetObjective.php instead
Global ilDBUpdateNewObjectType::updateOperationOrder (string $operation, int $pos)
use Services/AccessControl/classes/Setup/class.ilAccessRBACOperationOrderUpdatedObjective.php instead
Global ilDclBaseFieldModel::getStorageLocationOverride ()
Global ilDclBaseFieldModel::setStorageLocationOverride (?int $storage_location_override)
override ilDclFieldTypePlugin::getStorageLocation() instead
Global ilDclDatatype::INPUTFORMAT_PLUGIN
Class ilDomDocument
Global ilECSParticipantSettings::getEnabledParticipants ()
Global ilECSParticipantSettings::isEnabled ($a_mid)
Global ilECSSetting::ecsConfigured ()
use ilECSServerSettings::getInstance()->serverExists()
Global ilExAssignmentMemberStatus::getSolved ()
Global ilExAssignmentMemberStatus::getStatusIcon ()
will be deleted with R8
Global ilExAssignmentMemberStatus::setSolved (bool $a_value)
Class ilExplorer
Class ilFile
Class ilFileData
Class ilFileDataImport
Global ilFileDelivery::deliverFileLegacy (string $a_file, ?string $a_filename=null, ?string $a_mime=null, ?bool $isInline=false, ?bool $removeAfterDelivery=false, ?bool $a_exit_after=true)
Class ilFileSystemAbstractionStorage
Global ilFileSystemAbstractionStorage::copyFile (string $a_from, string $a_to)
Please use StorageService or FilesystemService for all file opertion
Global ilFileSystemAbstractionStorage::writeToFile (string $a_data, $a_absolute_path)
Please use StorageService or FilesystemService for all file opertion
Class ilFileSystemGUI
Class ilFileSystemTableGUI
$
Class ilFileUtils
All Methods are widely used and there is currently no other service providing all of them, but please do not implement new methods in this class.
Global ilFileUtils::createDirectory (string $a_dir, int $a_mod=0755)
in favour of Filesystem::createDir() located at the filesystem service.
Global ilFileUtils::delDir (string $a_dir, bool $a_clean_only=false)
in favour of Filesystem::deleteDir() located at the filesystem service.
Global ilFileUtils::getASCIIFilename (string $a_filename)
Global ilFileUtils::getDataDir ()
in favour of the filesystem service which should be used to operate on the storage directory.
Global ilFileUtils::getDir (string $a_dir, bool $a_rec=false, ?string $a_sub_dir="")
in favour of Filesystem::listContents() located at the filesystem service.
Global ilFileUtils::getUploadSizeLimitBytes ()
should use DataSize instead
Global ilFileUtils::getValidFilename (string $a_filename)
Global ilFileUtils::getWebspaceDir (string $mode="filesystem")
in favour of the filesystem service which should be used for operations on the web dir.
Global ilFileUtils::makeDir (string $a_dir)
in favour of Filesystem::createDir() located at the filesystem service.
Global ilFileUtils::makeDirParents (string $a_dir)
in favour of Filesystem::createDir() located at the filesystem service.
Global ilFileUtils::moveUploadedFile (string $a_file, string $a_name, string $a_target, bool $a_raise_errors=true, string $a_mode="move_uploaded")
in favour of the FileUpload service.
Global ilFileUtils::processZipFile (string $a_directory, string $a_file, bool $structure)
Will be removed completely with ILIAS 9
Global ilFileUtils::rCopy (string $a_sdir, string $a_tdir, bool $preserveTimeAttributes=false)
in favour of Filesystem::copyDir() located at the filesystem service.
Global ilFileUtils::recursive_dirscan (string $dir, array &$arr)
Will be removed completely with ILIAS 9
Global ilFileUtils::rename (string $a_source, string $a_target)
Global ilFileUtils::renameExecutables (string $a_dir)
Global ilFileUtils::rRenameSuffix (string $a_dir, string $a_old_suffix, string $a_new_suffix)
Global ilFormPropertyGUI::setRequestParam (string $key, $val)
Class ilHtmlToPdfTransformerFactory
Global ILIAS::deleteSetting (string $a_keyword)
Global ILIAS::getAllSettings ()
Global ILIAS::getSetting (string $a_keyword, ?string $a_default_value=null)
Global ILIAS::raiseError (string $a_msg, int $a_err_obj)
Global ILIAS::setSetting (string $a_key, string $a_val)
Global ILIAS::getValidFileName (string $filename)
Use ILIAS ResourceStorage to store files, there is no need to check valid filenames
Global ILIAS::hasValidFileName (string $filename)
Use ILIAS ResourceStorage to store files, there is no need to check valid filenames
Class ILIAS
This should be moved to Data/Refinery
Global ILIAS::getMimeType (string $a_file='', string $a_filename='', string $a_mime='')
use ILIAS::lookupMimeType() instead
Global ILIAS::collectOnce ()
Global ILIAS::isFinal ()
Global ILIAS::getSingleItemFromFilter (IdentificationInterface $identification)
Global ILIAS::getSingleItemFromRaw (IdentificationInterface $identification)
Global ILIAS::withContent (Component $ui_component)
Use withContentWrapper instead
Class ILIAS
use AbstractStaticMainMenuPluginProvider instead.
Global ILIAS::cookieJar ()
Please use $this->wrapper() in most cases.
Global ILIAS::raw ()
Please use $this->wrapper()
Global ILIAS::request ()
Please use $this->wrapper() in most cases.
Global ILIAS::response ()
Please use $this->wrapper() in most cases.
Global ILIAS::fromPlatform (Platform $platform, string $ltiContextId)
Use fromPlatform() instead
Global ILIAS::getMembership ()
Use getMemberships() instead
Global ILIAS::getPlatform ()

Use getPlatform() instead

Use setPlatformId() instead

Global ILIAS::hasMembershipService ()
Use hasMembershipsService() instead
Global ILIAS::CONSUMER_TABLE_NAME
Use DataConnector::PLATFORM_TABLE_NAME instead
Global ILIAS::escape (string $value, bool $addQuotes=true)
Use Util::getRandomString() instead
Global ILIAS::loadPlatform (Platform $platform)

Use loadPlatform() instead

Use savePlatform() instead

Use deletePlatform() instead

Use getPlatforms() instead

Global ILIAS::loadPlatformNonce (PlatformNonce $nonce)

Use loadPlatformNonce() instead

Use savePlatformNonce() instead

Use deletePlatformNonce() instead

Global ILIAS::doSettingService (int $action, string $value=null)
Use getMemberships() instead
Global ILIAS::fromPlatform (Platform $platform, string $ltiResourceLinkId, string $tempId=null)
Use fromPlatform() instead
Global ILIAS::getMembership ()
Use getMemberships() instead
Global ILIAS::getPlatform ()

Use getPlatform() instead

Use getPlatformId() instead

Use setPlatformId() instead

Global ILIAS::hasMembershipService ()
Use hasMembershipsService() instead
Global ILIAS::getPlatform ()
Use getPlatform() instead
Global ILIAS::getPlatforms ()
Use getPlatforms() instead
Global ILIAS::onLaunch ()
Use Util::sendForm() instead
Global ILIAS::deleteStaleNotificationsForUserAndType (int $user_id, string $type)
Global ILIAS::sendNotificationToUsers (ilNotificationConfig $notification, array $users, bool $processAsync=false)
Global ILIAS::setVisibleForSeconds (int $visibleForSeconds)
since notifications are no longer used for popup presentation.
Global ILIAS::absolutePath (StorableResource $resource)
Class ILIAS
Use MaxNestingFileSystemStorageHandler instead
Class ILIAS
removed in 9
Class ILIAS
removed in 9
Class ILIAS
removed in 9
Class ILIAS
removed in 9
Global ILIAS::getCustomSignal (string $signal_name)
Should only be used to connect legacy components. Will be removed in the future. Use at your own risk
Global ILIAS::withCustomSignal (string $signal_name, string $js_code)
Should only be used to connect legacy components. Will be removed in the future. Use at your own risk
Class ILIAS
removed in 9
Global ILIAS::getAllCustomSignals ()
Should only be used to connect legacy components. Will be removed in the future. Use at your own risk
Class ilImageLinkButton
use KS Buttons instead
Global ilInfoScreenGUI::addPropertyCheckbox (string $a_name, string $a_checkbox_name, string $a_checkbox_value, string $a_checkbox_label="", bool $a_checkbox_checked=false)
Global ilInfoScreenGUI::addPropertyTextinput (string $a_name, string $a_input_name, string $a_input_value="", string $a_input_size="", string $direct_button_command="", string $direct_button_label="", bool $direct_button_primary=false)
Class ilJsLinkButton
use KS Buttons instead
Global ilKprimChoiceWizardInputGUI::cleanupAnswerText (array $answer_text, bool $is_rte)
Class ilLegacyFormElementsUtil
The 2021 Technical Board has decided to mark the ilUtil class as deprecated. The ilUtil is a historically grown helper class with many different UseCases and functions. The class is not under direct maintainership and the responsibilities are unclear. In this context, the class should no longer be used in the code and existing uses should be converted to their own service in the medium term. If you need ilUtil for the implementation of a new function in ILIAS > 7, please contact the Technical Board.
Global ilLegacyFormElementsUtil::formCheckbox (bool $checked, string $varname, string $value, bool $disabled=false)
Global ilLegacyFormElementsUtil::formRadioButton (bool $checked, string $varname, string $value, string $onclick=null, bool $disabled=false)
Global ilLegacyFormElementsUtil::formSelect ( $selected, string $varname, array $options, bool $multiple=false, bool $direct_text=false, int $size=0, string $style_class="", array $attribs=[], bool $disabled=false)
Global ilLegacyFormElementsUtil::makeTimeSelect (string $prefix, bool $short=true, int $hour=0, int $minute=0, int $second=0, bool $a_use_default=true, array $a_further_options=[])
Global ilLegacyFormElementsUtil::period2String (ilDateTime $a_from, $a_to=null)
Global ilLegacyFormElementsUtil::prepareFormOutput ($a_str, bool $a_strip=false)
Class ilLinkButton
use KS Buttons instead
Class ilLog
this class provides a logging feature to the application this class is easy to use.
Global ilLogger::write (string $a_message, $a_level=ilLogLevel::INFO)
since version 5.1
Global ilLogger::writeLanguageLog (string $a_topic, string $a_lang_key)
since version 5.1
Global ilLSTOCGUI::NODE_ICONS
will be deleted with R8
Global ilMDEditorGUI::listQuickEdit_scorm ()
with release 5_3
Class ilMediaPlayerGUI
use KS Player element instead
Global ilMemcacheServer::returnDbTableName ()
Global ilMMItemRepository::getTypeHandlerForType (string $type)
Global ilNewsItem::_getDefaultVisibilityForRefId (int $a_ref_id)
will move to ilNewsData
Global ilNewsItem::_getNewsItemsOfUser (int $a_user_id, bool $a_only_public=false, bool $a_prevent_aggregation=false, int $a_per=0, array &$a_cnt=[])
(will migrate to ilNewsData)
Global ilNewsItem::_lookupContextObjId (int $a_news_id)
will move to ilNewsData
Global ilNewsItem::_lookupDefaultPDPeriod ()
will move to settings
Global ilNewsItem::_lookupMediaObjectUsages (int $a_mob_id)
will move to ilNewsData
Global ilNewsItem::_lookupMobId (int $a_news_id)
will move to ilNewsData
Global ilNewsItem::_lookupRSSPeriod ()
will move to settings
Global ilNewsItem::_lookupTitle (int $a_news_id)
will move to ilNewsData
Global ilNewsItem::_lookupUserPDPeriod (int $a_user_id)
will move to settings->user
Global ilNewsItem::_lookupVisibility (int $a_news_id)
will move to ilNewsData
Global ilNewsItem::_setRead (int $a_user_id, int $a_news_id)
will move to ilNewsData
Global ilNewsItem::_setUnread (int $a_user_id, int $a_news_id)
will move to ilNewsData
Global ilNewsItem::aggregateFiles (array $news, int $a_ref_id)
will move to ilNewsData
Global ilNewsItem::aggregateForums (array $news, bool $a_group_posting_sequence=false)
will move to ilNewsData
Global ilNewsItem::checkNewsExistsForObjects (array $objects, $a_time_period=1)
will move to ilNewsData
Global ilNewsItem::create ()
(will migrate to ilNewsData or other class taking care of persistence)
Global ilNewsItem::delete ()
will move to ilNewsData
Global ilNewsItem::deleteNewsOfContext (int $a_context_obj_id, string $a_context_obj_type, int $a_context_sub_obj_id=0, string $a_context_sub_obj_type="")
will move to ilNewsData
Global ilNewsItem::determineNewsContent (string $a_context_obj_type, string $a_content, bool $a_is_lang_var)
will move to util?
Global ilNewsItem::determineNewsTitle (string $a_context_obj_type, string $a_title, bool $a_content_is_lang_var, int $a_agg_ref_id=0, array $a_aggregation=[])
will move to util?
Global ilNewsItem::filterObjIdsPerNews (array $a_obj_ids, $a_time_period=0, string $a_starting_date="", string $a_ending_date='', bool $ignore_period=false)
will move to ilNewsData
Global ilNewsItem::getAggregatedChildNewsData (int $a_ref_id, bool $a_only_public=false, int $a_time_period=0, bool $a_prevent_aggregation=false, string $a_starting_date="", bool $a_no_auto_generated=false)
will move to ilNewsData
Global ilNewsItem::getAggregatedNewsData (int $a_ref_id, bool $a_only_public=false, $a_time_period=0, bool $a_prevent_aggregation=false, string $a_starting_date="", bool $a_no_auto_generated=false, int $a_user_id=null, int $a_limit=0, array $a_exclude=[])
(will migrate to ilNewsData)
Global ilNewsItem::getFirstNewsIdForContext (int $a_context_obj_id, string $a_context_obj_type, int $a_context_sub_obj_id=0, string $a_context_sub_obj_type="")
will move to ilNewsData
Global ilNewsItem::getLastNewsIdForContext (int $a_context_obj_id, string $a_context_obj_type, int $a_context_sub_obj_id=0, string $a_context_sub_obj_type="", bool $a_only_today=false)
will move to ilNewsData
Global ilNewsItem::getNewsForRefId (int $a_ref_id, bool $a_only_public=false, bool $a_stopnesting=false, $a_time_period=0, bool $a_prevent_aggregation=true, bool $a_forum_group_sequences=false, bool $a_no_auto_generated=false, bool $a_ignore_date_filter=false, int $a_user_id=null, int $a_limit=0, array $a_excluded=[])
(will migrate to ilNewsData)
Global ilNewsItem::getNewsOfContext (int $a_context_obj_id, string $a_context_obj_type, int $a_context_sub_obj_id=0, string $a_context_sub_obj_type="")
will move to ilNewsData
Global ilNewsItem::getPrivateFeedId ()
will move to settings->user
Global ilNewsItem::increaseDownloadCounter ()
will move to data
Global ilNewsItem::increasePlayCounter ()
will move to data
Global ilNewsItem::mergeNews (array $n1, array $n2)
will move to ilNewsData
Global ilNewsItem::prepareNewsDataFromCache (array $a_cres)
will move to data
Global ilNewsItem::queryNewsForContext (bool $a_for_rss_use=false, $a_time_period=0, string $a_starting_date="", bool $a_no_auto_generated=false, bool $a_oldest_first=false, int $a_limit=0)
will move to ilNewsData
Global ilNewsItem::queryNewsForMultipleContexts (array $a_contexts, bool $a_for_rss_use=false, $a_time_period=0, string $a_starting_date="", bool $a_no_auto_generated=false, int $a_user_id=null, int $a_limit=0, array $a_exclude=[])
will move to ilNewsData
Global ilNewsItem::read ()
(will migrate to ilNewsData or other class taking care of persistence)
Global ilNewsItem::setPrivateFeedId (int $a_userId)
will move to settings->user
Global ilNewsItem::update (bool $a_as_new=false)
(will migrate to ilNewsData or other class taking care of persistence)
Global ilObjBibliographic::copyFile (string $file_to_copy)
Global ilObjBibliographic::getFileDirectory ()
Global ilObjBibliographic::getFileTypeAsString ()
use type factory instead of string representation
Global ilObjBibliographicGUI::getType ()
REFACTOR use type factory via Facade
Global ilObjBookingPoolAccess::_lookupOnlineStatus (array $a_ids)
Global ilObjDataCollection::_hasReadAccess (int $ref)
Global ilObjDataCollection::_hasWriteAccess (int $ref)
Global ilObject::_prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true)
since version 5.2
Global ilObject::processAutoRating ()
: This function will be removed asap.
Global ilObjectFactory::getTypeByRefId (int $ref_id, bool $stop_on_error=true)
since version 5.3
Global ilObjFile::checkFileExtension (string $new_filename, string $new_title)
Global ilObjFile::clearDataDirectory ()
Global ilObjFile::deleteVersions ($a_hist_entry_ids=null)
Global ilObjFile::export (string $a_target_dir)
no longer available since it's unclear/unspecified how to export
Global ilObjFile::getAction ()
Global ilObjFile::getFile (?int $a_hist_entry_id=null)
Global ilObjFile::getFileExtension ()
Global ilObjFile::getUploadFile ($a_upload_file, string $title, bool $a_prevent_preview=false)
Global ilObjFile::isHidden ()
Global ilObjFile::setAction (string $a_action)
Global ilObjFileAccess::_lookupFileSize (int $a_id, bool $by_reference=true)
Global ilObjFileGUI::versions ()
Global ilObjFileImplementationInterface::deleteVersions (?array $a_hist_entry_ids=null)
Global ilObjFileImplementationInterface::getDirectory (int $a_version=0)
Global ilObjFileImplementationInterface::getFile (?int $a_hist_entry_id=null)
Global ilObjFileImplementationInterface::sendFile (?int $a_hist_entry_id=null, bool $inline=true)
Global ilObjLanguage::optimizeData ()
Global ilObjLanguageFolderGUI::getActions ()
seems to be not needed anymore
Global ilObjMediaObject::handleQuotaUpdate (ilObjMediaObject $a_mob)
Global ilObjMediaObject::setOriginID (string $a_id)
(seems to be obsolete)
Class ilObjPDFGeneration
Class ilObjPDFGenerationAccess
Class ilObjPDFGenerationGUI
Global ilObjPortfolioTemplateAccess::_lookupOnlineStatus (array $a_ids)
Global ilObjTest::_getUserIdFromActiveId ($active_id)
: use ilTestParticipantData instead
Global ilObjTest::_instanciateQuestion ($question_id)
use assQuestion::_instanciateQuestion($question_id) instead
Global ilObjTest::_lookupRandomTest ($a_obj_id)
Global ilObjTest::_lookupRandomTestFromActiveId ($active_id)
Global ilObjTest::canShowSolutionPrintview ($user_id=null)
Global ilObjTest::getAnswerFeedback ()
Use getGenericAnswerFeedback instead.
Global ilObjTest::hasRandomQuestionsForPass (int $active_id, int $pass)
: still in use?
Global ilObjTest::isDynamicTest ()
9 This is only kept in, to avoid crashing dynamic question tests with an ugly error.
Global ilObjTest::isNewRandomTest ()
–> old school random test
Global ilObjTest::isNrOfTriesReached ($tries)
: tries field differs per situation, outside a pass it's the number of tries, inside a pass it's the current pass number.
Global ilObjTest::randomSelectQuestions (int $nr_of_questions, int $questionpool, $use_obj_id=0, $qpls="", $pass=null)
–> old school random test
Global ilObjTest::setShowSolutionPrintview (int $a_printview=1)
Global ilObjTest::userLookupFullName ($user_id, $overwrite_anonymity=false, $sorted_order=false, $suffix="")
: use ilTestParticipantData instead
Global ilObjUser::_lookupFields (int $a_user_id)
Global ilObjUserFolder::getProfileFields ()
use ilUserProfile() instead
Global ilObjWikiAccess::_lookupOnlineStatus (array $a_ids)
Global ilOrgUnitImporter::importXmlRepresentation (string $a_entity, string $a_id, string $a_xml, ilImportMapping $a_mapping)
Global ilParticipants::getInstanceByObjId (int $a_obj_id)
since version 5.4 use getInstance() (ref_id based)
Class ilPDFCompInstaller
Class ilPDFGenerationConstants
Class ilPDFGenerationDefinitionProcessor
Class ilPDFGenerationJob
Class ilPDFGenerationRequest
Class ilPDFGeneratorUtils
Class ilPDFRenderer
Class ilPDFRendererPlugin
Class ilPlayerUtil
use KS components instead
Class ilPluginAdmin
Please use ilComponentRepository or ilComponentFactory instead.
Global ilPluginAdmin::isActive ($a_ctype, $a_cname, $a_slot_id, $a_pname)
Global ilPortfolioExerciseGUI::getExerciseInfo (int $a_user_id, int $a_assignment_id, bool $a_add_submit=false, bool $as_array=false)
Global ilPRGAssignmentDBRepository::interimOrguLookup (int $usr_id)
; fix ilObjUser::lookupOrgUnitsRepresentation
Class ilQuestionPageParser
use COPage dependency to export/import COPages instead
Global ilRbacAdmin::applyMovedObjectDidacticTemplates (int $a_ref_id, int $a_old_parent)
since version 5.1.0 will be removed with 5.4 and implemented using event handler
Global ilRbacReview::getRolesOfRoleFolder (int $a_ref_id, bool $a_nonassignable=true)
since version 4.5.0
Class ilRendererConfig
Class ilSaxParser
We should move to native XML-Parsing
Global ilSecuritySettingsChecker::isPassword (string $a_passwd, ?string &$customError=null)
use ilSecuritySettings
Global ilSetting::setScormDebug (string $a_key, string $a_val)
Class ilSettingsTemplate
Class ilShellUtil
The 2021 Technical Board has decided to mark the ilUtil class as deprecated. The ilUtil is a historically grown helper class with many different UseCases and functions. The class is not under direct maintainership and the responsibilities are unclear. In this context, the class should no longer be used in the code and existing uses should be converted to their own service in the medium term. If you need ilUtil for the implementation of a new function in ILIAS > 7, please contact the Technical Board.
Global ilShellUtil::escapeShellCmd (string $a_arg)
Global ilShellUtil::execQuoted (string $cmd, ?string $args=null)
Global ilShellUtil::getConvertCmd ()
Global ilShibbolethRoleAssignmentRule::matches (array $a_data)
Global ilShibbolethRoleAssignmentRule::wildcardCompare (string $a_str1, string $a_str2)
Global ilSoapFunctions::distributeMails (string $sid, string $mail_xml)
Global ilSoapUtils::distributeMails (string $sid, string $a_mail_xml)
Class ilStr
Global ilStr::shortenTextExtended (string $a_str, int $a_len, bool $a_dots=false, bool $a_next_blank=false, bool $a_keep_extension=false)
Class ilSubmitButton
use KS Buttons instead
Class ilSurveyQuestionsPlugin
Global ilTableGUI::disable (string $a_module_name)
Use setEnable<Section>() of Table2GUI instead
Global ilTableGUI::enable (string $a_module_name)
Use setEnable...<Section>() of Table2GUI instead
Global ilTabsGUI::addSubTabTarget (string $a_text, string $a_link, $a_cmd="", $a_cmdClass="", string $a_frame="", bool $a_activate=false, bool $a_dir_text=false)
Global ilTabsGUI::addTarget (string $a_text, string $a_link, $a_cmd="", $a_cmdClass="", string $a_frame="", bool $a_activate=false, bool $a_dir_text=false)
since version 5.0
Global ilTabsGUI::setSubTabActive (string $a_text)
since version 5.2
Global ilTabsGUI::setTabActive (string $a_id)
since version 5.2
Class ilTCPDFRenderer
Global ilTestEvaluationGUI::filterEvaluation ()
command is not used any longer
Global ilTestEvaluationGUI::resetfilterEvaluation ()
command is not used any longer
Global ilTestServiceGUI::getPassListOfAnswersWithScoring (&$result_array, $active_id, $pass, $show_solutions=false)
Global ilTextAreaInputGUI::setCols (int $a_cols)
Global ilToolbarGUI::addButton (string $a_txt, string $a_cmd, string $a_target="", ?int $a_acc_key=null, string $a_additional_attrs='', string $a_id="", string $a_class='submit')
use addButtonInstance() instead!
Global ilToolbarGUI::addFormButton (string $a_txt, string $a_cmd, ?int $a_acc_key=null, bool $a_primary=false, ?string $a_class=null)
use addButtonInstance() instead!
Global ilTree::__checkDelete (array $a_node)
since 4.4.0
Global ilTree::__getSubTreeByParentRelation (int $a_node_id, array &$parent_childs)
since 4.4.0
Global ilTree::__validateSubtrees (array &$lft_childs, array $parent_childs)
since 4.4.0
Global ilTree::isSaved (int $a_node_id)
since 4.4.0
Global ilTreeTrashQueries::getTrashedNodesForContainerUsingRecursion (int $ref_id)
Global ilUIHookPluginGUI::getHTML (string $a_comp, string $a_part, array $a_par=array())
Note this method is deprecated. There are several issues with hacking into already rendered html as provided here:
  • The generation of html might be performed twice (especially if REPLACE is used).
  • There is limited access to data used to generate the original html. If needed this data needs to be gathered again.
  • If an element inside the html needs to be changed, some crude string replace magic is needed.
Global ilUIHookPluginGUI::modifyGUI (string $a_comp, string $a_part, array $a_par=array())
Note this method is deprecated.
Global ilUIHookPluginGUI::modifyHTML (string $a_def_html, array $a_resp)
Reason, see getHTML
Class ilUploadFiles
Will be removed in the next release
Global ilUserQuery::getUserListData (string $a_order_field, string $a_order_dir, int $a_offset, int $a_limit, string $a_string_filter="", string $a_activation_filter="", ?ilDateTime $a_last_login_filter=null, bool $a_limited_access_filter=false, bool $a_no_courses_filter=false, int $a_course_group_filter=0, int $a_role_filter=0, array $a_user_folder_filter=null, array $a_additional_fields=null, array $a_user_filter=null, string $a_first_letter="", string $a_authentication_filter="")
Class ilUtil
The 2021 Technical Board has decided to mark the ilUtil class as deprecated. The ilUtil is a historically grown helper class with many different UseCases and functions. The class is not under direct maintainership and the responsibilities are unclear. In this context, the class should no longer be used in the code and existing uses should be converted to their own service in the medium term. If you need ilUtil for the implementation of a new function in ILIAS > 7, please contact the Technical Board.
Global ilUtil::__extractId (string $ilias_id, int $inst_id)
Global ilUtil::__extractRefId (string $role_title)
Global ilUtil::_getHttpPath ()
Global ilUtil::_sortIds (array $a_ids, string $a_table, string $a_field, string $a_id_name)
Global ilUtil::appendUrlParameterString (string $a_url, string $a_par, bool $xml_style=false)
Global ilUtil::deducibleSize (string $a_mime)
Global ilUtil::deliverData (string $a_data, string $a_filename, string $mime="application/octet-stream")
use ilFileDelivery
Global ilUtil::extractParameterString (string $a_parstr)
Global ilUtil::fmtFloat (float $a_float, int $a_decimals=0, string $a_dec_point=null, string $a_thousands_sep=null, bool $a_suppress_dot_zero=false)
Global ilUtil::getHtmlPath (string $relative_path)
Global ilUtil::getImagePath (string $img, string $module_path="", string $mode="output", bool $offline=false)
use UI Service!
Global ilUtil::getImageTagByType (string $a_type, string $a_path, bool $a_big=false)
Use UI-Service!
Global ilUtil::getNewContentStyleSheetLocation (string $mode="output")
Global ilUtil::getStyleSheetLocation (string $mode="output", string $a_css_name="", string $a_css_location="")
Global ilUtil::getSystemMessageHTML (string $a_txt, string $a_type="info")
replace with UI Compoenten in ilGlobalPageTemplate ATTENTION: This method is deprecated. Use MessageBox from the UI-framework instead.
Global ilUtil::img (string $a_src, ?string $a_alt=null, $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Global ilUtil::insertInstIntoID (string $a_value)
Global ilUtil::is_email (string $a_email, ilMailRfc822AddressParserFactory $mailAddressParserFactory=null)
use ilMailRfc822AddressParserFactory directly
Global ilUtil::isLogin (string $a_login)
Global ilUtil::isWindows ()
Global ilUtil::makeClickable (string $a_text, bool $detectGotoLinks=false)
Use the respective Refinery transformation $refinery->string()->makeClickable("foo bar") to convert URL-like string parts to an HTML anchor (<a>) element.
Global ilUtil::now ()
Global ilUtil::parseImportId (string $a_import_id)
Global ilUtil::redirect (string $a_script)
Use $DIC->ctrl()->redirectToURL() instead
Global ilUtil::secureLink (string $a_str)
Global ilUtil::securePlainString (string $a_str)
Global ilUtil::secureString (string $a_str, bool $a_strip_html=true, string $a_allow="")
Global ilUtil::secureUrl (string $url)
Global ilUtil::setCookie (string $a_cookie_name, string $a_cookie_value='', bool $a_also_set_super_global=true, bool $a_set_cookie_invalid=false)
use HTTP-service instead
Global ilUtil::stripOnlySlashes (string $a_str)
Global ilUtil::stripScriptHTML (string $a_str, string $a_allow="", bool $a_rm_js=true)
Global ilUtil::stripSlashes (string $a_str, bool $a_strip_html=true, string $a_allow="")
Global ilUtil::switchColor (int $a_num, string $a_css1, string $a_css2)
Global ilUtil::tf2yn (bool $a_tf)
Global ilUtil::yn2tf (string $a_yn)
use Refinery instead
Global ilWACSecurePath::returnDbTableName ()
Global ilWikiPage::_getPageIdForWikiTitle (int $a_wiki_id, string $a_title)
use getPageIdForTitle instead
Class ilWkhtmlToPdfConfig
Class ilWkhtmlToPdfConfigFormGUI
Class ilWkhtmlToPdfRenderer
Global ilYuiUtil::initConnectionWithAnimation ()
Global ilYuiUtil::initCookie ()
Global ilYuiUtil::initDomEvent (?ilGlobalTemplateInterface $a_main_tpl=null)
Global ilYuiUtil::initDragDrop (?ilGlobalTemplateInterface $a_main_tpl=null)
Global ilYuiUtil::initOverlay (?ilGlobalTemplateInterface $a_main_tpl=null)
Global ilYuiUtil::initPanel (bool $a_resize=false, ?ilGlobalTemplateInterface $a_main_tpl=null)
Global nusoap_base::formatDump ($str)
Global nusoap_client::getDefaultRpcParams ()
Global nusoap_client::setDefaultRpcParams ($rpcParams)
Global nusoap_parser::get_response ()
use get_soapbody instead
Global nusoap_server::add_to_map ($methodname, $in, $out)
Global nusoap_xmlschema::getPHPType ($type, $ns)
Global nusoap_xmlschema::serializeTypeDef ($type)
Global nusoap_xmlschema::typeToForm ($name, $type)
Global PEAR_ERROR_EXCEPTION
Namespace ServicesPassword

Class shibConfig
Class shibServerData
Global soap_transport_http::decodeChunked ($buffer, $lb)
Global soap_transport_http::sendHTTPS ($data, $timeout=0, $response_timeout=30, $cookies=null)
Global SurveyMatrixQuestion::saveLayout (float $percent_row, float $percent_columns, float $percent_bipolar_adjective1=0, float $percent_bipolar_adjective2=0, float $percent_neutral=0)
?
Global Title::userCanCreate ($doExpensiveQueries=true)
use userCan('create')
Global Title::userCanEdit ($doExpensiveQueries=true)
use userCan('edit')
Global Title::userCanMove ($doExpensiveQueries=true)
use userCan('move')
Global usleepWindows ($usec)
Global wsdl::serializeParameters ($operation, $direction, $parameters)