ILIAS
release_8 Revision v8.19
|
Util class various functions, usage as namespace. More...
Static Public Member Functions | |
static | getImageTagByType (string $a_type, string $a_path, bool $a_big=false) |
Builds an html image tag. More... | |
static | getImagePath (string $img, string $module_path="", string $mode="output", bool $offline=false) |
get image path (for images located in a template directory) More... | |
static | getHtmlPath (string $relative_path) |
get url of path More... | |
static | getStyleSheetLocation (string $mode="output", string $a_css_name="", string $a_css_location="") |
get full style sheet file name (path inclusive) of current user More... | |
static | getNewContentStyleSheetLocation (string $mode="output") |
get full style sheet file name (path inclusive) of current user More... | |
static | switchColor (int $a_num, string $a_css1, string $a_css2) |
switches style sheets for each even $a_num (used for changing colors of different result rows) More... | |
static | makeClickable (string $a_text, bool $detectGotoLinks=false) |
static | is_email (string $a_email, ilMailRfc822AddressParserFactory $mailAddressParserFactory=null) |
This preg-based function checks whether an e-mail address is formally valid. More... | |
static | isLogin (string $a_login) |
static | img (string $a_src, ?string $a_alt=null, $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="") |
Build img tag. More... | |
static | deliverData (string $a_data, string $a_filename, string $mime="application/octet-stream") |
static | appendUrlParameterString (string $a_url, string $a_par, bool $xml_style=false) |
static | stripSlashes (string $a_str, bool $a_strip_html=true, string $a_allow="") |
static | stripOnlySlashes (string $a_str) |
static | secureString (string $a_str, bool $a_strip_html=true, string $a_allow="") |
static | getSecureTags () |
static | securePlainString (string $a_str) |
static | htmlencodePlainString (string $a_str, bool $a_make_links_clickable, bool $a_detect_goto_links=false) |
Encodes a plain text string into HTML for display in a browser. More... | |
static | maskTag (string $a_str, string $tag, array $fix_param=[]) |
static | secureLink (string $a_str) |
static | stripScriptHTML (string $a_str, string $a_allow="", bool $a_rm_js=true) |
static | secureUrl (string $url) |
static | extractParameterString (string $a_parstr) |
static | yn2tf (string $a_yn) |
static | tf2yn (bool $a_tf) |
static | deducibleSize (string $a_mime) |
checks if mime type is provided by getimagesize() More... | |
static | redirect (string $a_script) |
static | insertInstIntoID (string $a_value) |
inserts installation id into ILIAS id More... | |
static | groupNameExists (string $a_group_name, ?int $a_id=null) |
checks if group name already exists. More... | |
static | isWindows () |
static | now () |
Return current timestamp in Y-m-d H:i:s format. More... | |
static | _getObjectsByOperations ( $a_obj_type, string $a_operation, int $a_usr_id=0, int $limit=0) |
Get all objects of a specific type and check access This function is not recursive, instead it parses the serialized rbac_pa entries. More... | |
static | isHTML (string $a_text) |
Checks if a given string contains HTML or not. More... | |
static | __extractRefId (string $role_title) |
extract ref id from role title, e.g. More... | |
static | __extractId (string $ilias_id, int $inst_id) |
extract ref id from role title, e.g. More... | |
static | _sortIds (array $a_ids, string $a_table, string $a_field, string $a_id_name) |
Function that sorts ids by a given table field using WHERE IN E.g: __sort(array(6,7),'usr_data','lastname','usr_id') => sorts by lastname. More... | |
static | getSystemMessageHTML (string $a_txt, string $a_type="info") |
Get HTML for a system message. More... | |
static | setCookie (string $a_cookie_name, string $a_cookie_value='', bool $a_also_set_super_global=true, bool $a_set_cookie_invalid=false) |
static | _getHttpPath () |
static | parseImportId (string $a_import_id) |
Parse an ilias import id Typically of type il_[IL_INST_ID]_[OBJ_TYPE]_[OBJ_ID] returns array( 'orig' => 'il_4800_rolt_123' 'prefix' => 'il' 'inst_id => '4800' 'type' => 'rolt' 'id' => '123'. More... | |
static | formatSize (int $size, string $a_mode='short', ?ilLanguage $a_lng=null) |
Returns the specified file size value in a human friendly form. More... | |
Static Protected Member Functions | |
static | fmtFloat (float $a_float, int $a_decimals=0, string $a_dec_point=null, string $a_thousands_sep=null, bool $a_suppress_dot_zero=false) |
format a float More... | |
Static Private Member Functions | |
static | replaceLinkProperties (array $matches) |
static | maskSecureTags (string $a_str, array $allow_array) |
static | unmaskSecureTags (string $a_str, array $allow_array) |
static | maskAttributeTag (string $a_str, string $tag, string $tag_att) |
static | unmaskAttributeTag (string $a_str, string $tag, string $tag_att) |
static | unmaskTag (string $a_str, string $tag, array $fix_param=[]) |
Util class various functions, usage as namespace.
Definition at line 37 of file class.ilUtil.php.
|
static |
extract ref id from role title, e.g.
893 from 'il_122_role_893'
string | $ilias_id | with format like il_<instid>_<objTyp>_ID |
int | $inst_id | Installation ID must match inst id in param ilias_id |
Definition at line 1204 of file class.ilUtil.php.
References ILIAS\Repository\int().
Referenced by ilObjUser\_getUserData(), ilUserImportParser\extractRolesBeginTag(), ilObjectXMLParser\handlerBeginTag(), ilExerciseXMLParser\handlerBeginTag(), ilFileXMLParser\handlerBeginTag(), ilUserImportParser\importBeginTag(), ilSoapUserAdministration\importUsers(), ilSoapRBACAdministration\parseUserID(), ilGroupXMLParser\save(), and ilUserImportParser\verifyBeginTag().
|
static |
extract ref id from role title, e.g.
893 from 'il_crs_member_893'
string | $role_title | with format like il_crs_member_893 |
Definition at line 1184 of file class.ilUtil.php.
References $ref_id, and ILIAS\Repository\int().
Referenced by ilSoapCourseAdministration\getCoursesForUser(), ilSoapGroupAdministration\getGroupsForUser(), and ilSoapRoleObjectXMLWriter\start().
|
static |
Definition at line 1332 of file class.ilUtil.php.
References $_SERVER, $DIC, $ilIliasIniFile, and ilContext\usesHTTP().
Referenced by ilSessionReminderCheck\__construct(), ilMail\_getAutoGeneratedMessageString(), ilMail\_getInstallationSignature(), ilAuthProviderCAS\doAuthentication(), ilMailEnvironmentHelper\getHttpPath(), ilTestPlayerAbstractGUI\getNavigationUrlParameter(), ilForumMailNotification\getPermanentLink(), ilForumMailEventNotificationSender\getPermanentLink(), ilChatroomAdminViewGUI\getReadmePath(), ilMailFormCall\getRefererRedirectUrl(), ilSoapClient\init(), ilCronManagerImpl\runActiveJobs(), ilMailSummaryNotification\send(), and ilCronDeleteInactiveUserReminderMail\sendReminder().
|
static |
Get all objects of a specific type and check access This function is not recursive, instead it parses the serialized rbac_pa entries.
Get all objects of a specific type where access is granted for the given operation. This function does a checkAccess call for all objects in the object hierarchy and return only the objects of the given type. Please note if access is not granted to any object in the hierarchy the function skips all objects under it. Example: You want a list of all Courses that are visible and readable for the user. The function call would be: $your_list = IlUtil::getObjectsByOperation ("crs", "visible"); Lets say there is a course A where the user would have access to according to his role assignments. Course A lies within a group object which is not readable for the user. Therefore course A won't appear in the result list although the queried operations 'read' would actually permit the user to access course A.
public
string/array | object type 'lm' or array('lm','sahs') |
string | permission to check e.g. 'visible' or 'read' |
int | id of user in question |
int | limit of results. if not given it defaults to search max hits.If limit is -1 limit is unlimited |
Definition at line 1059 of file class.ilUtil.php.
References $DIC, $ilDB, $ilSetting, $ilUser, $query, $res, ilRbacReview\_getOperationIdsByName(), ilDBConstants\FETCHMODE_OBJECT, ILIAS\Repository\int(), RECOVERY_FOLDER_ID, and SYSTEM_ROLE_ID.
Referenced by ilGroupActionTargetExplorerGUI\__construct(), ilObjSurveyQuestionPool\_getAvailableQuestionpools(), ilObjQuestionPool\_getAvailableQuestionpools(), ilObjTest\_getAvailableTests(), ilECSSettingsGUI\exportImported(), ilGroupUserActionProvider\getCommandAccess(), ilCourseGroupingAssignmentTableGUI\getItems(), ilObjSurvey\getQuestionblocksTable(), ilECSSettingsGUI\imported(), and ilObjectCopyGUI\sourceExists().
|
static |
Function that sorts ids by a given table field using WHERE IN E.g: __sort(array(6,7),'usr_data','lastname','usr_id') => sorts by lastname.
Definition at line 1223 of file class.ilUtil.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ilArrayUtil\quoteArray().
Referenced by ilObjRoleGUI\adoptPermObject(), ilMailSearchObjectGUI\cancel(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilObjSessionGUI\eventsListObject(), ilMemberExport\fetchUsers(), ilAttendanceList\getHTML(), ilCourseGroupingAssignmentTableGUI\getItems(), ilPermissionGUI\initRoleForm(), ilConsultationHoursTableGUI\parse(), ilLDAPSettingsGUI\prepareGlobalRoleSelection(), ilAuthShibbolethSettingsGUI\prepareRoleSelect(), ilECSSettingsGUI\prepareRoleSelect(), ilCASSettingsGUI\prepareRoleSelection(), ilSamlSettingsGUI\prepareRoleSelection(), and ilOpenIdConnectSettingsGUI\prepareRoleSelection().
|
static |
Definition at line 385 of file class.ilUtil.php.
References $url.
Referenced by ilObjectListGUI\appendRepositoryFrameParameter(), ilXapiCompliantStatementsReportLinkBuilder\appendRequestParameters(), ilCmiXapiAbstractReportLinkBuilder\appendRequestParameters(), assImagemapQuestionGUI\buildAreaLinkTarget(), ilCmiXapiLaunchGUI\buildLaunchLink(), ilPasswordAssistanceGUI\buildUrl(), ilStartUpGUI\doApacheAuthentication(), ilTestExpressPageObjectGUI\executeCommand(), ilObjTestGUI\executeCreateQuestionObject(), ilDataCollectionGlobalTemplate\fillFooter(), ilGlobalTemplate\fillFooter(), ilRTEGlobalTemplate\fillJavascriptFile(), ilDataCollectionGlobalTemplate\fillJavascriptFile(), ilGlobalTemplate\fillJavascriptFile(), ilAssQuestionHintsTableGUI\fillRow(), ilObjQuestionPoolListGUI\getCommandLink(), ilObjTestListGUI\getCommandLink(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\getDeleteHref(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\getEditHref(), ILIAS\LearningModule\Menu\ilLMMenuGUI\getEntries(), ilIntLinkRepItemExplorerGUI\getNodeHref(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), ilAuthFrontendCredentialsApache\getTargetUrl(), ilInitialisation\redirect(), ilInternalLinkGUI\renderLink(), ilPCQuestionGUI\setTabs(), ilAssQuestionHintRequestGUI\showHintCmd(), and ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().
|
static |
checks if mime type is provided by getimagesize()
Definition at line 933 of file class.ilUtil.php.
Referenced by ilObjMediaObject\_determineWidthHeight(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilClipboardTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilMediaItem\getOriginalSize(), and ilObjMediaPoolSubItemListGUI\parseImage().
|
static |
Definition at line 362 of file class.ilUtil.php.
References $DIC, and ILIAS\FileDelivery\Delivery\setMimeType().
Referenced by ilTestExport\aggregatedResultsToCSV(), ilCertificateUtilHelper\deliverData(), ilMemberExportGUI\deliverData(), ilObjTest\deliverPDFfromFO(), ilPublicUserProfileGUI\deliverVCard(), ilObjLanguageFolderGUI\downloadDeprecatedObject(), ilMemberExportGUI\downloadExportFile(), ilObjLanguageExtGUI\downloadObject(), ilSurveyParticipantsGUI\exportAllCodesObject(), ilAccountCodesGUI\exportCodes(), ilRegistrationSettingsGUI\exportCodes(), ilSurveyParticipantsGUI\exportCodesObject(), ilSessionOverviewGUI\exportCSV(), ilSurveyEvaluationGUI\exportCumulatedResults(), ilSurveyEvaluationGUI\exportEvaluationUser(), ilObjLinkResourceGUI\exportHTML(), ilObjAssessmentFolderGUI\exportLogObject(), ilDidacticTemplateSettingsGUI\exportTemplate(), ilTestExport\exportToCSV(), ilCalendarRemoteAccessHandler\handleRequest(), ilForumExportGUI\printPost(), ilPageObject\send_paragraph(), ilObjSCORMLearningModule\sendExportFile(), and ilChatroomHistoryGUI\showMessages().
|
static |
Definition at line 854 of file class.ilUtil.php.
Referenced by ilPCMediaObjectGUI\saveAliasProperties(), and ilMediaItem\setParameters().
|
staticprotected |
format a float
this functions takes php's number_format function and formats the given value with appropriate thousand and decimal separator.
Definition at line 1389 of file class.ilUtil.php.
References $DIC, $lng, and $txt.
|
static |
Returns the specified file size value in a human friendly form.
By default, the oder of magnitude 1024 is used. Thus the value returned by this function is the same value that Windows and Mac OS X return for a file. The value is a GibiBig, MebiBit, KibiBit or byte unit.
For more information about these units see: http://en.wikipedia.org/wiki/Megabyte
integer | size in bytes |
string | mode: "short" is useful for display in the repository "long" is useful for display on the info page of an object |
ilLanguage | The language object, or null if you want to use the system language. |
Definition at line 1445 of file class.ilUtil.php.
Referenced by ilLMDownloadTableGUI\fillRow(), ilMemberExportFileTableGUI\fillRow(), ilDclExportTableGUI\fillRow(), ilFileVersionsTableGUI\fillRow(), ilExportTableGUI\fillRow(), ilFileSystemTableGUI\fillRow(), ilMailAttachmentTableGUI\formatValue(), ilObjFileGUI\infoScreenForward(), ilMailAttachmentGUI\saveAttachments(), ilMailFormGUI\showForm(), and ilMailAttachmentGUI\uploadFile().
|
static |
get url of path
$relative_path | string: complete path to file, relative to web root (e.g. /data/pfplms103/mobs/mm_732/athena_standing.jpg) |
Definition at line 126 of file class.ilUtil.php.
Referenced by ilObjMediaObject\_getURL(), ilPreview\getImages(), SurveyTextQuestionGUI\getPrintView(), SurveySingleChoiceQuestionGUI\getPrintView(), SurveyMultipleChoiceQuestionGUI\getPrintView(), SurveyMatrixQuestionGUI\getPrintView(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), and ilAuthFrontendCredentialsApache\tryAuthenticationOnLoginPage().
|
static |
get image path (for images located in a template directory)
Definition at line 67 of file class.ilUtil.php.
References $_SERVER, $DIC, $img, ilStyleDefinition\getCurrentSkin(), and ilStyleDefinition\getCurrentStyle().
Referenced by ilPCInteractiveImageGUI\__construct(), ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilPollUserTableGUI\__construct(), ilStudyProgrammeExpandableProgressListGUI\__construct(), ILIAS\MediaCast\Video\VideoItem\__construct(), ilPDMailGUI\__construct(), ilLPStatusIcons\__construct(), ilRepositoryObjectPlugin\_getImagePath(), ilPCTableGUI\_renderTable(), ilExAssignmentGUI\addFiles(), ilWikiPageGUI\addHeaderAction(), ilObjDataCollectionGUI\addHeaderAction(), ilContainerRenderer\addHeaderRow(), ilContainerGUI\addHeaderRow(), ILIAS\COPage\Editor\Components\Page\PageQueryActionHandler\allCommand(), ilUserPrivacySettingsGUI\appendChatJsToTemplate(), ilConditionHandlerGUI\askDelete(), ilExSubmissionObjectGUI\askUnlinkPortfolioObject(), ilPersonalSkillsGUI\assignMaterials(), ilObjAuthSettingsGUI\authSettingsObject(), ilDclRecordListTableGUI\buildData(), ilParticipantsTestResultsTableGUI\buildFailedIcon(), ilTestQuestionsTableGUI\buildObligatoryColumnContent(), ilTestParticipantsTableGUI\buildOkIcon(), ilParticipantsTestResultsTableGUI\buildPassedIcon(), ilObjContentObjectGUI\chapters(), ilObject\cloneMetaData(), ilMembershipGUI\confirmAssignFromWaitingList(), ilMembershipGUI\confirmAssignSubscribers(), ilGlossaryTermGUI\confirmDefinitionDeletion(), ilMailFolderGUI\confirmDeleteMails(), ilSessionMembershipGUI\confirmDeleteParticipants(), ilMembershipGUI\confirmDeleteParticipants(), ilObjRoleGUI\confirmDeleteRoleObject(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilMembershipGUI\confirmRefuseFromList(), ilMembershipGUI\confirmRefuseSubscribers(), ilCourseParticipantsGroupsGUI\confirmRemove(), ilOrgUnitStaffGUI\confirmRemoveUser(), ilSCORM13PlayerGUI\debugGUI(), ilObjForumGUI\decorateWithAutosave(), ilObjSkillManagementGUI\deleteNodes(), ilObjSkillTreeGUI\deleteNodes(), ilParticipantsTestResultsGUI\deleteSingleUserResultsCmd(), ilPDNewsGUI\displayHeader(), ilPDNotesGUI\displayHeader(), ilPageObjectGUI\displayMedia(), ilLMPageObjectGUI\editLayout(), ilObjTypeDefinitionGUI\editObject(), ilGlossaryTermGUI\editTerm(), ilObjSessionGUI\eventsListObject(), ilMembershipOverviewGUI\executeCommand(), ilAchievementsGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilLMPageObjectGUI\executeCommand(), ilTermDefinitionEditorGUI\executeCommand(), ilPortfolioRepositoryGUI\executeCommand(), ilBlogPostingGUI\executeCommand(), ilSystemStyleHTMLExport\export(), ilCOPageHTMLExport\exportHTMLMOB(), ILIAS\Wiki\Export\WikiHtmlExport\exportPageHTML(), ilMailFolderTableGUI\fetchTableData(), ilTable2GUI\fillActionRow(), ilLuceneAdvancedSearchGUI\fillAdminPanel(), ilLuceneSearchGUI\fillAdminPanel(), ILIAS\Services\UICore\MetaTemplate\PageContentGUI\fillAdminPanel(), ilGlobalTemplate\fillAdminPanel(), ilDataCollectionGlobalTemplate\fillAdminPanel(), ilTable2GUI\fillHeader(), ilBlockGUI\fillHeaderCommands(), ilShibbolethRoleAssignmentTableGUI\fillRow(), ilLDAPRoleAssignmentTableGUI\fillRow(), ilConditionHandlerTableGUI\fillRow(), ilAccessPermissionsStatusTableGUI\fillRow(), ilCalendarSharedListTableGUI\fillRow(), ilAuthLoginPageEditorTableGUI\fillRow(), ilCourseObjectiveQuestionsTableGUI\fillRow(), ilECSServerTableGUI\fillRow(), ilAvailableRolesStatusTableGUI\fillRow(), ilCalendarInboxSharedTableGUI\fillRow(), ilCalendarChangedAppointmentsTableGUI\fillRow(), ilLDAPServerTableGUI\fillRow(), ilHistoryTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilSamlIdpTableGUI\fillRow(), ilLPCollectionSettingsTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilPageLayoutTableGUI\fillRow(), ilItemGroupItemsTableGUI\fillRow(), ilDidacticTemplateSettingsTableGUI\fillRow(), ilCourseReferenceDeleteConfirmationTableGUI\fillRow(), ilTimingsPersonalTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilTimingsManageTableGUI\fillRow(), ilListOfQuestionsTableGUI\fillRow(), ilPDMailBlockGUI\fillRow(), ilSessionOverviewTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilSessionMaterialsTableGUI\fillRow(), ilSurveyQuestionTableGUI\fillRow(), ilFileSystemTableGUI\fillRow(), ilLPProgressTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrMatrixTableGUI\fillRow(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclTableViewTableGUI\fillRowFromObject(), ilGlobalTemplate\fillSideIcons(), ilDataCollectionGlobalTemplate\fillSideIcons(), assQuestion\fixUnavailableSkinImageSources(), ilSCORMPresentationGUI\frameset(), assQuestionGUI\generateCorrectnessIconsForCorrectness(), ilForumThreadFormGUI\generateInputItems(), ilUserAvatarResolver\getAvatar(), ilChapterHierarchyFormGUI\getChildIcon(), ilHierarchyFormGUI\getChildIcon(), ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\StandardPagePartProvider\getContent(), ilHierarchyFormGUI\getContent(), ilAssNestedOrderingElementsInputGUI\getCorrectnessIcon(), ilPCMediaObjectGUI\getEnabledMapAreas(), ilFirstLoginLearningHistoryProvider\getEntries(), ilCourseLearningHistoryProvider\getEntries(), ilLearningHistoryEntryCollector\getEntries(), ilBadgeLearningHistoryProvider\getEntries(), ilSkillLearningHistoryProvider\getEntries(), ilAsyncPropertyFormGUI\getErrorMessageTemplate(), ilStudyProgrammeExpandableProgressListGUI\getExpandedImageURL(), ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\StandardPagePartProvider\getFaviconPath(), ilLMPresentationGUI\getHeaderAction(), ilDclBooleanRecordRepresentation\getHTML(), ilDclFileuploadRecordRepresentation\getHTML(), ilMainMenuSearchGUI\getHTML(), ilRatingGUI\getHTML(), ilAdvancedSelectionListGUI\getHTML(), ilForumNotificationTableGUI\getIcon(), ILIAS\Administration\AdministrationMainBarProvider\getIconForGroup(), ilSkillTreeNode\getIconPath(), ilObjSCORMInitData\getIliasScormVars(), ilExplorer\getImage(), ilImageMapEditorGUI\getImageMapOutput(), ilCertificateUtilHelper\getImagePath(), ilSCORM13PlayerGUI\getInlineCSS(), ilContainerStartObjectsContentTableGUI\getItems(), ilObjContentObjectGUI\getLayoutOption(), ilCalendarSelectionBlockGUI\getLegacyContent(), ilHierarchyFormGUI\getLevelHTML(), ilPDMailBlockGUI\getListItemForData(), ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\StandardPagePartProvider\getLogo(), ilLMHtmlExportViewLayoutProvider\getMainBarModification(), ILIAS\User\Provider\UserMetaBarProvider\getMetaBarItems(), ilMediaPlayerGUI\getMp3PlayerHtml(), ilLMEditorExplorerGUI\getNodeIcon(), ilPublicSectionExplorerGUI\getNodeIcon(), ilMediaPoolExplorerGUI\getNodeIcon(), ilSkillTreeExplorerGUI\getNodeIcon(), ilTaxonomyExplorerGUI\getNodeIcon(), ilSkillTemplateTreeExplorerGUI\getNodeIcon(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilMailExplorer\getNodeIcon(), ilWorkspaceExplorerGUI\getNodeIcon(), ilLMTOCExplorerGUI\getNodeIcon(), ilPersonalSkillExplorerGUI\getNodeIcon(), ilStudyProgrammeExpandableProgressListGUI\getNotExpandedImageURL(), ilExplorer\getOutput(), ilSCORMExplorer\getOutputIcons(), ILIAS\Portfolio\PortfolioPrintViewProviderGUI\getPages(), ilSCORM13PlayerGUI\getPlayer(), ilPortfolioRepositoryGUI\getPortfolioList(), assSingleChoiceGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assKprimChoiceGUI\getPreview(), assMatchingQuestionGUI\getPreview(), SurveyTextQuestionGUI\getPrintView(), SurveySingleChoiceQuestionGUI\getPrintView(), SurveyMultipleChoiceQuestionGUI\getPrintView(), SurveyMatrixQuestionGUI\getPrintView(), ilTestQuestionHeaderBlockBuilder\getQuestionInfoHTML(), ilTestQuestionNavigationGUI\getQuestionMarkIconSource(), ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\StandardPagePartProvider\getResponsiveLogo(), ilTestServiceGUI\getResultsSignature(), ILIAS\Portfolio\PortfolioPrintViewProviderGUI\getSelectionForm(), ILIAS\Blog\BlogPrintViewProviderGUI\getSelectionForm(), ILIAS\Wiki\WikiPrintViewProviderGUI\getSelectionForm(), ilObjExerciseGUI\getService(), assMultipleChoiceGUI\getSolutionOutput(), assSingleChoiceGUI\getSolutionOutput(), assMatchingQuestionGUI\getSolutionOutput(), assKprimChoiceGUI\getSolutionOutput(), ILIAS\Membership\GlobalScreen\MembershipMainBarProvider\getStaticSubItems(), ILIAS\EmployeeTalk\Provider\MyStaffListEntryProvider\getStaticSubItems(), ILIAS\MyStaff\Provider\StaffMainBarProvider\getStaticSubItems(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getStaticSubItems(), ILIAS\MainMenu\Provider\StandardTopItemsProvider\getStaticTopItems(), ilObjGlossaryGUI\getTemplate(), assKprimChoiceGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), ilObjectListGUI\getTileImagePath(), ilPageObjectGUI\getTinyMenu(), ilLMGSToolProvider\getTocTool(), ilTaxonomyGSToolProvider\getToolsForContextStack(), ilLMEditGSToolProvider\getToolsForContextStack(), ilMediaPoolGSToolProvider\getToolsForContextStack(), ilCOPageEditGSToolProvider\getToolsForContextStack(), ilLMGSToolProvider\getToolsForContextStack(), ilSkillGSToolProvider\getToolsForContextStack(), ILIAS\COPage\Editor\Components\Page\PageQueryActionHandler\getTopActions(), ilUserAvatarFile\getUrl(), ilLMPresentationGUI\ilMedia(), ilLMPageObjectGUI\initEditLayoutForm(), ilObjGroupGUI\initForm(), ilConditionHandlerGUI\initFormCondition(), ilObjCmiXapiGUI\initHeaderAction(), ilObjLTIConsumerGUI\initHeaderAction(), ilObjBookingPoolGUI\initHeaderAction(), ilObjStudyProgrammeGUI\initHeaderAction(), ilObjGroupGUI\initHeaderAction(), ilObjBlogGUI\initHeaderAction(), ilObjCourseGUI\initHeaderAction(), ilObjForumGUI\initHeaderAction(), ilOnScreenChatGUI\initializeFrontend(), SurveyConstraintsTableGUI\initItems(), ilAwarenessGUI\initJS(), ilObjUserFolderGUI\initNewAccountMailForm(), ilLMPresentationGUI\initScreenHead(), ilObjWikiGUI\initSettingsForm(), ilMatrixRowWizardInputGUI\insert(), ilCategoryWizardInputGUI\insert(), ilObjLTIConsumerListGUI\insertIconsAndCheckboxes(), ilObjectListGUI\insertIconsAndCheckboxes(), ilObjOrgUnitListGUI\insertInfoScreenCommand(), ilObjectListGUI\insertInfoScreenCommand(), ilPropertyFormGUI\insertItem(), ilObjectListGUI\insertTitle(), ilUserCertificateGUI\listCertificates(), ilGlossaryTermGUI\listDefinitions(), ilGlossaryPresentationGUI\listDefinitions(), ilGlossaryTermGUI\listUsages(), ilMStListCompetencesSkillsGUI\listUsers(), ilMStListUsersGUI\listUsers(), ilMStListCoursesGUI\listUsers(), ilMStListCertificatesGUI\listUsers(), ilPDSelectedItemsBlockGUI\manageObject(), ilGlossaryPresentationGUI\media(), ilObjMediaPoolSubItemListGUI\parseImage(), ilObjWorkflowEngineGUI\prepareAdminOutput(), ilDashboardGUI\prepareContentView(), ilGlossaryPresentationGUI\prepareOutput(), ilCalendarPresentationGUI\prepareOutput(), ilGlossaryPresentationGUI\printViewSelection(), ilLMNavigationRendererGUI\render(), ilProgressBar\render(), ilTableGUI\render(), ilTable2GUI\render(), ilPCTableGUI\renderCell(), ilHierarchyFormGUI\renderChild(), ilRatingGUI\renderDetails(), ilCalendarSelectionBlockGUI\renderItem(), ilTestQuestionSideListGUI\renderList(), ilSurveyPageEditGUI\renderPage(), ilObjForumGUI\renderPostContent(), ilImagePathResolver\resolveImagePath(), ilPersonalSkillsGUI\selfEvaluation(), ilBadgeHandler\sendNotification(), ilLMPresentationGUI\setHeader(), ilImageLinkButton\setImage(), ilSAHSPresentationGUI\setInfoTabs(), ilSkillTemplateGUI\setTabs(), ilPageLayoutGUI\setTabs(), ilStructureObjectGUI\setTabs(), ilObjSAHSLearningModuleGUI\setTabs(), ilObjTaxonomyGUI\setTabs(), ilObjMediaObjectGUI\setTabs(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjUserGUI\setTitleAndDescription(), ilObjPortfolioGUI\setTitleAndDescription(), ilObjLanguageExtGUI\setTitleAndDescription(), ilDerivedTasksGUI\show(), ilNewsTimelineGUI\show(), ilDashboardGUI\show(), ilLMObjectGUI\showActions(), ilContentStyleSettingsGUI\showActions(), ilObjContentObjectGUI\showActions(), ilContainerGUI\showAdministrationPanel(), ilObjWorkspaceFolderGUI\showAdministrationPanel(), ilPasswordAssistanceGUI\showAssignPasswordForm(), ilPasswordAssistanceGUI\showAssistanceForm(), ilStartUpGUI\showCASLoginForm(), ilGlossaryPresentationGUI\showDownloadList(), ilLTIConsumerContentGUI\showEmbedded(), ilCalendarMonthGUI\showEvents(), ilCalendarWeekGUI\showFulldayAppointment(), ilCalendarDayGUI\showFulldayAppointment(), ilMailGUI\showHeader(), ilStructureObjectGUI\showHierarchy(), ilInternalLinkGUI\showLinkHelp(), ilObjMediaPoolGUI\showMedia(), ilPasswordAssistanceGUI\showMessageForm(), ilPageObjectGUI\showPage(), ilContainerGUI\showPasteTreeObject(), ilLMPresentationGUI\showPrintView(), ilLMPresentationGUI\showPrintViewSelection(), ilMailSearchGUI\showResults(), ilLocalUserGUI\showRolesTable(), ilChatroomViewGUI\showRoom(), ilAssQuestionSkillAssignmentsGUI\showSkillSelectionCmd(), ilCourseContentGUI\showStartObjects(), ilContactGUI\showSubTabs(), ilObjectCopyGUI\showTargetSelectionTree(), ilMailFolderGUI\showUser(), ilPasswordAssistanceGUI\showUsernameAssistanceForm(), ilStructureObjectGUI\subchap(), ilObjTestGUI\uploadTst(), and ilEmployeeTalkMyStaffListGUI\view().
|
static |
Builds an html image tag.
Definition at line 44 of file class.ilUtil.php.
References $DIC, $filename, $lng, and ilObject\_getIcon().
Referenced by ilObjTypeDefinitionGUI\displayList(), and ilObjTypeDefinitionGUI\editObject().
|
static |
get full style sheet file name (path inclusive) of current user
Definition at line 191 of file class.ilUtil.php.
References ilStyleDefinition\getCurrentSkin(), and ilStyleDefinition\getCurrentStyle().
Referenced by ilTinyMCE\addCustomRTESupport(), ilTinyMCE\addRTESupport(), ilTinyMCE\addUserTextEditor(), ilDataCollectionGlobalTemplate\fillNewContentStyle(), ilGlobalTemplate\fillNewContentStyle(), and ilGlobalPageTemplate\prepareBasicCSS().
|
static |
Definition at line 484 of file class.ilUtil.php.
Referenced by ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags(), and secureString().
|
static |
get full style sheet file name (path inclusive) of current user
$mode | string Output mode of the style sheet ("output" or "filesystem"). !"filesystem" generates the ILIAS version number as attribute to force the reload of the style sheet in a different ILIAS version |
$a_css_name | string The name of the style sheet. If empty, the default style name will be chosen |
$a_css_location | string The location of the style sheet e.g. a module path. This parameter only makes sense when $a_css_name is used |
Definition at line 148 of file class.ilUtil.php.
References $DIC, $filename, $ilSetting, ilStyleDefinition\getCurrentSkin(), ilStyleDefinition\getCurrentStyle(), and ilStyleDefinition\getSkins().
Referenced by ilExport\_generateIndexFile(), ilTinyMCE\addRTESupport(), ilCharSelectorGUI\addToPage(), ilTinyMCE\addUserTextEditor(), ilSCORMPresentationGUI\contentSelect(), ilObjTest\deliverPDFfromHTML(), ilTestEvaluationGUI\detailedEvaluation(), ilPageObjectGUI\displayMedia(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilSCORMPresentationGUI\explorer(), ilSystemStyleHTMLExport\export(), ILIAS\COPage\Editor\Components\Page\PageQueryActionHandler\getConfig(), ILIAS\Notes\Export\NotesHtmlExport\getInitialisedTemplate(), ILIAS\Portfolio\Export\PortfolioHtmlExport\getInitialisedTemplate(), ILIAS\Blog\Export\BlogHtmlExport\getInitialisedTemplate(), ilExplorer\getOutput(), ilSCORM13PlayerGUI\getPlayer(), ilCOPageHTMLExport\getPreparedMainTemplate(), assMatchingQuestionGUI\getPreview(), ilObjQuestionPoolGUI\getQueryParamInt(), ilPlugin\getStyleSheetLocation(), assMatchingQuestionGUI\getTestOutput(), ilCOPageHTMLExport\initResourceTemplate(), ILIAS\Glossary\Export\GlossaryHtmlExport\initScreen(), ILIAS\LearningModule\Export\LMHtmlExport\initScreen(), ilLMPresentationGUI\layout(), ilGlossaryPresentationGUI\media(), ilTestServiceGUI\outCorrectSolution(), ilTestPlayerAbstractGUI\outCorrectSolution(), ilTestEvaluationGUI\outEvaluation(), ilTestEvaluationGUI\outParticipantsPassDetails(), ilTestEvaluationGUI\outParticipantsResultsOverview(), ilTestEvaluationGUI\outUserListOfAnswerPasses(), ilTestEvaluationGUI\outUserPassDetails(), ilTestEvaluationGUI\outUserResultsOverview(), ilLMPresentationGUI\page(), ilGlobalPageTemplate\prepareBasicCSS(), ilObjTestGUI\printobject(), ilForumExportGUI\printPost(), ilForumExportGUI\printThread(), ilPortfolioPageGUI\renderConsultationHours(), ILIAS\Export\PrintProcessGUI\renderPrintView(), ilObjTestGUI\reviewobject(), ilLMPresentationGUI\setSystemStyle(), ilInternalLinkGUI\showLinkHelp(), ilContainerGUI\showLinkListObject(), ilTestPlayerAbstractGUI\showListOfAnswers(), ilObjMediaPoolGUI\showMedia(), ilPageObjectGUI\showMediaFullscreen(), ilObjMediaPoolGUI\showPage(), ilParticipantsTestResultsGUI\showUserResults(), ilSCORM13PlayerGUI\specialPage(), ilSAHSPresentationGUI\view(), and ilSCORMPresentationGUI\view().
|
static |
Get HTML for a system message.
Definition at line 1257 of file class.ilUtil.php.
References $DIC.
Referenced by ilGroupAddToGroupActionGUI\addUser(), ilTestPasswordProtectionGUI\buildPasswordMsg(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilGroupAddToGroupActionGUI\confirmCreateGroupAndAddUser(), ilObjStudyProgrammeTreeGUI\create(), ilGroupAddToGroupActionGUI\createGroup(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilDataCollectionGlobalTemplate\fillMessage(), ilGlobalTemplate\fillMessage(), ilClassificationBlockGUI\filterContainer(), ilNewsTimelineGUI\getDeleteModal(), ilCalendarAgendaListGUI\getHTML(), ilTaggingGUI\getHTML(), ilNoteGUI\getNoteListHTML(), ilInternalLinkGUI\getUserSearchResult(), ilAsyncNotifications\initJs(), ilDclRecordEditGUI\save(), ilGroupAddToGroupActionGUI\selectParent(), ilDclRecordEditGUI\sendFailure(), and ilGroupAddToGroupActionGUI\show().
|
static |
checks if group name already exists.
Groupnames must be unique for mailing purposes static function
public
string | groupname |
integer | obj_id of group to exclude from the check. |
Definition at line 985 of file class.ilUtil.php.
References $DIC, $ilDB, $ilErr, and $message.
Referenced by ilGroupNameAsMailValidator\__construct(), ilMailAddressTypeHelperImpl\doesGroupNameExists(), and ilSoapGroupAdministration\groupExists().
|
static |
Encodes a plain text string into HTML for display in a browser.
This function encodes HTML special characters: < > & with < > & and converts newlines into
If $a_make_links_clickable is set to true, URLs in the plain string which are considered to be safe, are made clickable.
string | the plain text string |
boolean | set this to true, to make links in the plain string clickable. |
boolean | set this to true, to detect goto links |
Definition at line 598 of file class.ilUtil.php.
References makeClickable().
Referenced by ilMailFolderGUI\confirmDeleteMails(), and ilMailFolderTableGUI\fetchTableData().
|
static |
Build img tag.
Definition at line 329 of file class.ilUtil.php.
References $img.
Referenced by ilDclRecordListTableGUI\buildData(), ilMailFolderGUI\confirmDeleteMails(), ilChatroomAdminSmileyGUI\deleteMultipleObject(), ilTable2GUI\fillHeader(), ilObjClipboardTableGUI\fillRow(), ilPCIIMOverlaysTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilItemGroupItemsTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilSearchResultTableGUI\fillRow(), ilListOfQuestionsTableGUI\fillRow(), ilAdminSubItemsTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilObjectListGUI\getHeaderAction(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getHomeItem(), ilMainMenuSearchGUI\getHTML(), ilObjectAddNewItemGUI\getHTML(), ilObjContentObjectGUI\getLayoutOption(), ilNoteGUI\getOriginHeader(), ilLMPageObjectGUI\initEditLayoutForm(), ilOnScreenChatGUI\initializeFrontend(), ilPCResourcesGUI\insertResourcesIntoPageContent(), ilEmployeeTalkMyStaffListGUI\loadActionBar(), ilEmployeeTalkMyStaffUserGUI\loadActionBar(), ilObjMediaPoolSubItemListGUI\parseImage(), ilSCORM2004TrackingItemsTableGUI\parseValue(), ilSCORMTrackingItemsTableGUI\parseValue(), ilNestedListInputGUI\render(), ilExplorerBaseGUI\renderNode(), and ilChatroomAdminSmileyGUI\showDeleteSmileyFormObject().
|
static |
inserts installation id into ILIAS id
e.g. "il__pg_3" -> "il_43_pg_3"
Definition at line 965 of file class.ilUtil.php.
References IL_INST_ID.
Referenced by ilObjQuestionPool\modifyExportIdentifier(), ilObjMediaObject\modifyExportIdentifier(), ilObjTest\modifyExportIdentifier(), and ilMediaObjectDataSet\readData().
|
static |
This preg-based function checks whether an e-mail address is formally valid.
It works with all top level domains including the new ones (.biz, .info, .museum etc.) and the special ones (.arpa, .int etc.) as well as with e-mail addresses based on IPs (e.g. webma) Valid top level domains: ster @123. 45.1 23.45http://data.iana.org/TLD/tlds-alpha-by-domain.txt
Definition at line 283 of file class.ilUtil.php.
References Vendor\Package\$e, and ilMail\ILIAS_HOST.
Referenced by ilEMailInputGUI\checkInput(), ilCmiXapiUser\getIdent(), ilMimeMailNotification\initLanguage(), ilSurveyExecutionGUI\mailUserResults(), ilObjSurveyGUI\mailUserResultsObject(), ilObjSurvey\updateCode(), ILIAS\Survey\Code\CodeDBRepo\updateExternalData(), ilCalendarUserNotification\validate(), and ilObjCourse\validateInfoSettings().
|
static |
Checks if a given string contains HTML or not.
string | $a_text | Text which should be checked |
Definition at line 1169 of file class.ilUtil.php.
Referenced by assTextQuestion\getSolutionSubmit(), ilAssSelfAssessmentQuestionFormatter\handleLineBreaks(), assQuestion\isHTML(), and ilLegacyFormElementsUtil\prepareTextareaOutput().
|
static |
Definition at line 303 of file class.ilUtil.php.
Referenced by ilUserLoginInputGUI\checkInput(), ilAuthProviderApache\doAuthentication(), ilAccountRegistrationGUI\saveForm(), and ilPersonalProfileGUI\updateLoginOrSetErrorMessages().
|
static |
Definition at line 1016 of file class.ilUtil.php.
Referenced by ilPreviewRenderer\createPreviewImage(), ilGitInformation\detect(), ilShellUtil\execQuoted(), and ilImagemapPreview\execQuoted().
|
static |
Refinery
transformation $refinery->string()->makeClickable("foo bar")
to convert URL-like string parts to an HTML anchor (<a>
) element.WIll be removed in ILIAS 10.
Definition at line 229 of file class.ilUtil.php.
References $DIC.
Referenced by ilPDMailGUI\__construct(), ilAppointmentPresentationGUI\addEventDescription(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), ilCourseRegistrationGUI\fillInformations(), ilGroupRegistrationGUI\fillInformations(), ilPDNewsTableGUI\fillRow(), ilADTExternalLinkPresentationBridge\getHTML(), ilCalendarAppointmentPanelGUI\getHTML(), htmlencodePlainString(), ilObjCourseGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilPDNewsTableGUI\makeClickable(), ilNewsForContextBlockGUI\makeClickable(), ilObjSessionGUI\showJoinRequestButton(), ilUtilTest\testMakeClickableWithGotoLinksAndInvalidRefId(), and ilUtilTest\testMakeClickableWithoutGotoLinks().
|
staticprivate |
Definition at line 653 of file class.ilUtil.php.
References $DIC.
Referenced by maskSecureTags().
|
staticprivate |
Definition at line 508 of file class.ilUtil.php.
References maskAttributeTag(), and maskTag().
Referenced by secureString().
|
static |
Definition at line 718 of file class.ilUtil.php.
Referenced by maskSecureTags().
|
static |
Return current timestamp in Y-m-d H:i:s format.
Definition at line 1026 of file class.ilUtil.php.
Referenced by ilChangeEvent\_catchupWriteEvents(), ilHistory\_copyEntriesForObject(), ilHistory\_createEntry(), ilLMPageObject\_getPresentationTitle(), ilObjSCORMTracking\_insertTrackData(), ilLMTracker\_isNodeVisible(), ilPageObject\_lookupActive(), ilObjUser\_setUserInactive(), ilObjUser\_toggleActiveStatusOfUsers(), ilWikiContributor\_writeStatus(), ilLikeData\addExpression(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\addFulfilmentEntry(), ilSkillLevelDBRepository\addLevel(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\addNonFulfilmentEntry(), ilExSubmission\addResourceObject(), ilRepositoryObjectPlugin\beforeActivation(), ilBlogPosting\create(), ilNewsItem\create(), ilWebDAVMountInstructionsDocumentFormGUI\createFilledObject(), ilPRGAssignmentDBRepository\createFor(), ilPageObject\createFromXML(), ILIAS\Notes\NotesManager\createNote(), ilAuthProviderLTI\createUser(), ilPageActivationDBRepository\getData(), ilCalendarHeaderNavigationGUI\getHTML(), ilNewsItem\getLastNewsIdForContext(), ilLMNavigationStatus\getPredecessorPageId(), ilWikiUserHTMLExport\getProcess(), ilLMNavigationStatus\getSuccessorPageId(), ilSkillUserLevelDBRepository\hasRecentSelfEvaluation(), ilObjSCORM2004LearningModule\importSuccess(), ilObjSCORMLearningModule\importSuccess(), ilPreviewRenderer\render(), ilLMContentRendererGUI\renderDeactivatedPageMessage(), ilSkillUserLevelDBRepository\resetUserSkillLevelStatus(), ilObjUser\saveAsNew(), ilObjForum\saveData(), ilUserProfilePromptDataGateway\saveLastUserPrompt(), ilExAssignmentMemberStatus\setFeedback(), ilExAssignmentMemberStatus\setMark(), ilExAssignmentMemberStatus\setSent(), ilExAssignmentMemberStatus\setStatus(), ilUserProfileStartUpStep\shouldInterceptRequest(), ilObjSCORMTracking\storeJsApiCmi(), ilLMTracker\trackLastPageAccess(), ilBlogPosting\unpublish(), ilObjUser\update(), ilNewsItem\update(), ilPageObject\update(), ilPageObject\updateFromXML(), ILIAS\Notes\NoteDBRepository\updateNoteText(), ilExPeerReview\updatePeerReview(), ilExPeerReview\updatePeerReviewTimestamp(), ilExSubmission\updateTextSubmission(), ilExSubmission\updateTutorDownloadTime(), ILIAS\Exercise\Submission\SubmissionDBRepository\updateWebDirAccessTime(), ilExSubmission\uploadFile(), ilPageObject\writeRenderedContent(), and ilSkillUserLevelDBRepository\writeUserSkillLevelStatus().
|
static |
Parse an ilias import id Typically of type il_[IL_INST_ID]_[OBJ_TYPE]_[OBJ_ID] returns array( 'orig' => 'il_4800_rolt_123' 'prefix' => 'il' 'inst_id => '4800' 'type' => 'rolt' 'id' => '123'.
Definition at line 1361 of file class.ilUtil.php.
References ILIAS\Repository\int().
Referenced by ilQuestionPageParser\buildTag(), ilECSEnrolmentStatusCommandQueueHandler\handleCreate(), ilAdvancedMDRecordParser\handlerBeginTag(), ilQuestionPageParser\handlerEndTag(), and ilAdvancedMDFieldDefinitionInternalLink\importValueFromXML().
|
static |
Definition at line 948 of file class.ilUtil.php.
References $DIC.
Referenced by ilLearningProgressGUI\__getNextClass(), ilStartUpGUI\_checkGoto(), ilObjItemGroupGUI\_goto(), ilObjLearningSequence\_goto(), ilObjPollGUI\_goto(), ilObjGroupGUI\_goto(), ilObjLinkResourceGUI\_goto(), ilObjSystemFolderGUI\_goto(), ilObjCourseGUI\_goto(), ilCourseRegistrationGUI\add(), ilGroupRegistrationGUI\add(), ilObjLinkResourceGUI\afterSave(), ilObjMediaCastGUI\afterSave(), ilObjSurveyGUI\afterSave(), ilObjWikiGUI\afterSave(), ilObjOrgUnitGUI\afterSave(), ilObjMediaPoolGUI\afterSave(), ilObjSurveyQuestionPoolGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), ilObjQuestionPoolGUI\afterSave(), ilObjCourseGUI\afterSave(), ilTestPlayerAbstractGUI\afterTestPassFinishedCmd(), ilSurveyExecutionGUI\backToRepository(), ilObjTestGUI\backToRepositoryObject(), ilLMPageObjectGUI\cancel(), SurveyQuestionGUI\cancel(), assQuestionGUI\cancel(), ilMailFormGUI\cancelMail(), ilSharedResourceGUI\cancelPassword(), ilSessionControl\checkCurrentSessionIsAllowed(), ilContainerStartObjectsGUI\checkPermission(), ilInternalLinkGUI\closeLinkHelp(), ilObjectCopyGUI\copyMultipleNonContainer(), ilObjMediaPoolGUI\createMediaFromUploadDir(), ilPersonalSettingsGUI\deleteOwnAccount3(), ilPersonalSettingsGUI\deleteOwnAccountLogout(), ilNewsItem\deliverMobFile(), ilImageMapEditorGUI\editImagemapForward(), ilErrorHandling\errorHandler(), ilSAHSEditGUI\executeCommand(), ilTestExpressPageObjectGUI\executeCommand(), ilDashboardGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilCalendarPresentationGUI\executeCommand(), ilObjTestGUI\executeCreateQuestionObject(), ilLTIViewGUI\getContextId(), ilPublicUserProfileGUI\getHTML(), ilObjWikiGUI\gotoPageObject(), ilObjItemGroupGUI\gotoParent(), ilObjWikiGUI\gotoStartPageObject(), ilMembershipRegistrationCodeUtils\handleCode(), ilNavigationHistoryGUI\handleNavigationRequest(), ilTestExpressPageObjectGUI\handleToolbarCommand(), ilSharedResourceGUI\hasAccess(), ilObjSurveyQuestionPoolGUI\importFileObject(), ilObjSurveyGUI\importSurveyObject(), ilObjQuestionPoolGUI\importVerifiedFileObject(), ilObjTestGUI\importVerifiedFileObject(), ilEditClipboardGUI\insert(), ilObjUserFolderGUI\mailObject(), ilMailingListsGUI\mailToList(), ilObjRoleGUI\mailToRoleObject(), ilObjSCORMLearningModuleGUI\newModuleVersionUpload(), ilTestExpressPageObjectGUI\nextQuestion(), ilExerciseManagementGUI\openSubmissionViewObject(), ilAssQuestionHintRequestGUI\performRequestCmd(), ilObjLearningSequenceLearnerGUI\play(), ilTestExpressPageObjectGUI\prevQuestion(), ilObjQuestionPoolGUI\questionsObject(), ilObjTestGUI\questionsObject(), ilShibbolethWAYF\redirect(), ilInitialisation\redirect(), SurveyQuestionGUI\redirectAfterSaving(), ilExerciseManagementGUI\redirectFeedbackMailObject(), ilObjCourseGUI\redirectLocToTestConfirmedObject(), ilObjCourseGUI\redirectLocToTestObject(), ilObjLinkResourceGUI\redirectToLink(), ilTestExpressPageObjectGUI\redirectToQuestionPoolSelectionPage(), assQuestionGUI\save(), ilContentStyleSettingsGUI\saveActiveStyles(), ilMailFormGUI\saveDraft(), assQuestionGUI\saveEdit(), ilPersonalSettingsGUI\savePassword(), ilPersonalProfileGUI\savePublicProfile(), ilContentStyleSettingsGUI\saveScope(), ilLPTableBaseGUI\sendMail(), ilObjContentObjectGUI\sendMailToBlockedUsers(), ilMembershipGUI\sendMailToSelectedUsers(), ilObjAuthSettingsGUI\setAuthModeObject(), ilObjFileBasedLMGUI\showLearningModule(), ilTestOutputGUI\submitSolutionCmd(), ilObjPollGUI\subscribe(), ilContentStyleSettingsGUI\toggleGlobalDefault(), ilContentStyleSettingsGUI\toggleGlobalFixed(), ilObjPortfolioGUI\toRepository(), ilObjPollGUI\unsubscribe(), ilObjFileGUI\update(), ilObjSAHSLearningModuleGUI\uploadObject(), and ilObjPollGUI\vote().
|
staticprivate |
Definition at line 256 of file class.ilUtil.php.
References $DIC, $ref_id, and ILIAS\Repository\int().
|
static |
Definition at line 764 of file class.ilUtil.php.
Referenced by ilObjMediaObjectGUI\savePropertiesObject(), ilObjMediaObjectGUI\setObjectPerCreationForm(), and unmaskAttributeTag().
|
static |
Definition at line 573 of file class.ilUtil.php.
Referenced by ilPDMailGUI\__construct(), ilMailFormGUI\editAttachments(), ilMailFormGUI\saveDraft(), ilMailFormGUI\saveMailBeforeSearch(), ilMailFormGUI\search(), ilMailFormGUI\searchUsers(), ilMailFormGUI\sendMessage(), and ilMailFormGUI\showForm().
|
static |
Definition at line 425 of file class.ilUtil.php.
References getSecureTags(), maskSecureTags(), stripScriptHTML(), and unmaskSecureTags().
Referenced by ilOrgUnitExplorerGUI\getNodeContent(), assKprimChoiceGUI\handleAnswerTextsSubmit(), ilUserDataSet\importRecord(), ilTaggingSlateContentGUI\renderResourcesForTag(), ilAssSelfAssessmentQuestionFormatter\stripHtmlExceptSelfAssessmentTags(), and stripSlashes().
|
static |
Definition at line 834 of file class.ilUtil.php.
References $url.
Referenced by ilDataCollectionGlobalTemplate\fillFooter(), ilGlobalTemplate\fillFooter(), ilGroupedListGUI\getHTML(), ilObjMediaObject\getXML(), and ilTabsGUI\removeNonTabbedLinks().
|
static |
Definition at line 1285 of file class.ilUtil.php.
References $DIC, $http, $response, IL_COOKIE_PATH, and ILIAS\Repository\int().
Referenced by ilStartUpGUI\_checkGoto(), ilStartUpGUI\doLogout(), ilLTIViewGUI\logout(), ilSessionControl\removeSessionCookie(), and ilInitialisation\setClientIdCookie().
|
static |
Definition at line 413 of file class.ilUtil.php.
Referenced by assFormulaQuestionGUI\writePostData(), and assQuestionGUI\writeQuestionGenericPostData().
|
static |
Definition at line 786 of file class.ilUtil.php.
Referenced by ILIAS\Services\UICore\MetaTemplate\PageContentGUI\fillHeader(), ilDataCollectionGlobalTemplate\fillHeader(), ilGlobalTemplate\fillHeader(), ilDataCollectionGlobalTemplate\fillWindowTitle(), ilGlobalTemplate\fillWindowTitle(), and secureString().
|
static |
Definition at line 401 of file class.ilUtil.php.
References secureString().
Referenced by ilObjTaggingSettingsGUI\__construct(), ilSessionReminderCheck\__construct(), ilTaxonomyExplorerGUI\__construct(), ilSearchGUI\__construct(), ilLDAPSettingsGUI\__construct(), ilUserSearchFilter\__parseQueryString(), ilSearchGUI\__parseQueryString(), ilRepositorySearchGUI\__parseQueryString(), ilAdvancedSearchGUI\__performContentSearch(), ilAdvancedSearchGUI\__performEntitySearch(), ilAdvancedSearchGUI\__performGeneralSearch(), ilAdvancedSearchGUI\__performKeywordSearch(), ilAdvancedSearchGUI\__performLifecycleSearch(), ilAdvancedSearchGUI\__performTaxonSearch(), ilAdvancedSearchGUI\__performTitleSearch(), ilPCParagraph\_input2xml(), ilFileUtils\_sanitizeFilemame(), ilHierarchyFormGUI\_str(), ilObjUserGUI\addAdminLocatorItems(), ilObjGlossaryGUI\addDefinition(), ilInfoScreenGUI\addPreconditionSection(), ilObjContentObjectGUI\addTooltip(), ilPCInteractiveImage\addTriggerArea(), ilTermsOfServiceAcceptanceHistoryGUI\addUserAutoComplete(), ilContainer\applyContainerUserFilter(), ilCmiXapiStatementsGUI\asyncUserAutocompleteCmd(), ilLTIConsumerXapiStatementsGUI\asyncUserAutocompleteCmd(), ilLTIConsumerGradeSynchronizationGUI\asyncUserAutocompleteCmd(), ilObjForumGUI\autosaveDraftAsyncObject(), ilObjForumGUI\autosaveThreadDraftAsyncObject(), ilRepositoryTrashGUI\buildPath(), ilAssQuestionSkillAssignmentsTableGUI\buildSkillPointsInput(), ilObjSystemFolderGUI\changeHeaderTitleObject(), ilPDSelectedItemsBlockGUI\changePDItemPresentation(), ilPDSelectedItemsBlockGUI\changePDItemSorting(), ilMailQuickFilterInputGUI\checkInput(), ilClozeGapInputBuilderGUI\checkInput(), ilOrgUnitMultiLineInputGUI\checkInput(), ilFileInputGUI\checkInput(), ilSuggestedSolutionSelectorGUI\checkInput(), ilDclGenericMultiInputGUI\checkInput(), ilObjSurvey\cloneTextblocks(), ilChatroomAdminSmileyGUI\confirmedDeleteMultipleObject(), ilChatroomPrivateRoomGUI\create(), ilFileSystemGUI\createDirectory(), ilObjFileBasedLMGUI\createFromDirectory(), ilObjForumGUI\decorateWithAutosave(), ilExAssignmentEditorGUI\deleteAssignmentsObject(), ilMailAttachmentGUI\deleteAttachments(), ilFileSystemGUI\deleteFile(), ilPCInteractiveImageGUI\deleteOverlays(), ilChatroomAdminSmileyGUI\deleteSmileyObject(), ilObjSurveyGUI\doAutoCompleteObject(), ilObjForumGUI\doHistoryCheck(), ilStartUpGUI\doSamlAuthentication(), ilSCORM13PlayerGUI\downloadLog(), ilObjLanguageExtGUI\downloadObject(), ilTestExpressPageObjectGUI\executeCommand(), ilMailGUI\executeCommand(), ilCronManagerGUI\executeCommand(), ilObjTestGUI\executeCommand(), assQuestionGUI\executeCommand(), ilObjContentObjectGUI\export(), ilObjMediaPoolGUI\export(), ilObjContentObjectGUI\exportHTML(), ilFileSystemGUI\extCommand(), ilExportIDTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilMailSearchObjectMembershipsTableGUI\fillRow(), ilMailTemplateGUI\getAjaxPlaceholdersById(), ilPCDataTableGUI\getCellContent(), ilSCORM13MDImporter\getDescription(), ilObjUser\getFullname(), ilFormulaInputGUI\getInput(), ilTextAreaInputGUI\getInput(), ilUserLPTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilExplorerBaseGUI\getNodeAsync(), assAnswerCloze\getNumericValueFromText(), ilObjForumGUI\getOrderByParam(), ilSCORMPackageParser\getPackageTitle(), assTextQuestion\getSolutionSubmit(), ilTaggingGUI\getTagsFromInput(), ilSCORM13MDImporter\getTitle(), ilUserTableGUI\getUserIdsForFilter(), ilChatroomInviteUsersToPrivateRoomGUI\getUserList(), ilPCParagraph\handleAjaxContent(), ilObjSessionGUI\handleFileUpload(), ilObjForumGUI\handleFormInput(), ilSCORMPackageParser\handlerCharacterData(), ilChatroomXMLParser\handlerEndTag(), ilForumXMLParser\handlerEndTag(), ilSCORM13Package\il_import(), ilPCTable\importHtml(), ilContentPageDataSet\importRecord(), ilScormAiccImporter\importXmlRepresentation(), ILIAS\COPage\Editor\Components\MediaObject\MediaObjectCommandActionHandler\insertCommand(), ilObjChatroomGUI\insertObject(), ILIAS\COPage\Editor\Components\Paragraph\ParagraphCommandActionHandler\insertParagraph(), ilMDEditorGUI\keywordAutocomplete(), ilGlossaryPresentationGUI\listTerms(), ilECSUser\loadFromGET(), ilLDAPRoleGroupMappingSettings\loadFromPost(), ilECSSettingsGUI\loadFromPost(), ilObjEmployeeTalkSeriesGUI\loadRecurrenceSettings(), ilEmployeeTalkAppointmentGUI\loadRecurrenceSettings(), ilObjSessionGUI\loadRecurrenceSettings(), ilLDAPSettingsGUI\loadRoleAssignmentRule(), ilMailSearchGUI\lookupRecipientAsync(), ilMailFormGUI\lookupRecipientAsync(), ilObjLanguageExtGUI\maintainExecuteObject(), ilCSVReader\open(), ilSCORM13PlayerGUI\openLog(), assQuestionGUI\outChapterSelector(), assQuestionGUI\outPageSelector(), ilSCORMTrackingUsersTableGUI\parse(), ilTrashTableGUI\parse(), ilFileSystemGUI\parseCurrentDirectory(), ilObjStudyProgrammeAutoMembershipsGUI\parseQueryString(), ilRepositorySearchGUI\performSearch(), ilLegacyFormElementsUtil\prepareFormOutput(), ilObjQuestionPoolGUI\printObject(), ilLMPageGUI\processAnswer(), ilICalParser\purgeString(), ilMailBodyPurifier\purify(), ilObjTestGUI\randomselectObject(), ilInitialisation\redirect(), ilLuceneSearchGUI\remoteSearch(), ilExAssignmentFileSystemGUI\renameFile(), ilFileSystemGUI\renameFile(), ilTable2GUI\restoreTemplate(), ilTestScoringByQuestionsGUI\retrieveFeedback(), ilEMailInputGUI\sanitize(), ilFileSystemGUI\sanitizeCurrentDirectory(), ilQtiMatImageSecurity\sanitizeLabel(), ilLMEditShortTitlesGUI\save(), ilLMPageObjectGUI\save(), ilObjSkillManagementGUI\saveAllTemplateTitles(), ilObjSkillTreeGUI\saveAllTemplateTitles(), ilObjSkillManagementGUI\saveAllTitles(), ilObjSkillTreeGUI\saveAllTitles(), ilExerciseManagementGUI\saveCommentForLearnersObject(), ilExerciseManagementGUI\saveEvaluationFromModalObject(), ilObjContentObjectGUI\saveExportIds(), ilObjTestSettingsGeneralGUI\saveGeneralProperties(), ilObjWikiGUI\saveGradingObject(), ilObjSystemFolderGUI\saveHeaderTitleObject(), ilObjSystemFolderGUI\saveHeaderTitlesObject(), ilSurveyEditorGUI\saveHeadingObject(), ilObjSystemFolderGUI\saveJavaServerObject(), ilTestScoringGUI\saveManScoringParticipantScreen(), ilMarkSchemaGUI\saveMarkSchemaFormData(), ilPCParagraph\saveMetaKeywords(), ilObjLanguageExtGUI\saveObject(), ilPersonalProfileGUI\savePersonalDataForm(), ilObjPortfolioBaseGUI\savePortfolioPagesOrdering(), ilObjFileAccessSettingsGUI\saveSettings(), ilObjAssessmentFolderGUI\saveSettingsObject(), ilObjTaxonomyGUI\saveSorting(), ilPortfolioRepositoryGUI\saveTitles(), ilTranslationGUI\saveTranslations(), ilObjectTranslationGUI\saveTranslations(), ilObjStudyProgrammeTreeGUI\saveTreeOrder(), assLongMenu\saveWorkingData(), assClozeTest\saveWorkingData(), ilPDFGenerationRequest\securedString(), ilPCTableGUI\setAlignment(), ilForumPageCommandForwarder\setBackLinkTab(), ilContentPagePageCommandForwarder\setBackLinkTab(), ilSCORM13MDImporter\setDescription(), ilObjMediaObjectGUI\setObjectPerCreationForm(), ilLDAPRoleGroupMappingSetting\setRoleByName(), ilPCTableGUI\setStyles(), ilSCORM13MDImporter\setTitle(), ilPCTableGUI\setWidths(), ilCalendarCategoryGUI\sharePerformSearch(), ilRepositoryTrashGUI\showDeleteConfirmation(), ilStartUpGUI\showSamlLoginForm(), ilObjSCORM2004LearningModuleGUI\showTrackingItems(), ilObjSCORMLearningModuleGUI\showTrackingItems(), ilObjSCORM2004LearningModuleGUI\showTrackingItemsBySco(), ilObjSCORMLearningModuleGUI\showTrackingItemsBySco(), ilObjForumGUI\showUserObject(), ILIAS\COPage\Editor\Components\Paragraph\ParagraphCommandActionHandler\split(), ilBadgeGUIRequest\strArray(), ILIAS\Repository\HTML\HTMLUtil\strip(), ILIAS\Repository\strip(), ilCertificateUtilHelper\stripSlashes(), ilFormPropertyGUI\stripSlashesAddSpaceFallback(), SurveyQuestion\stripSlashesAddSpaceFallback(), ilArrayUtil\stripSlashesArray(), ilArrayUtil\stripSlashesRecursive(), assLongMenuGUI\stripSlashesRecursive(), ilClozeGapInputBuilderGUI\stripSlashesRecursive(), ilDataSet\stripTags(), ilPasswordAssistanceGUI\submitAssignPasswordForm(), ilBuddySystemGUI\transitionAsyncCommand(), ilContainerBaseXmlParser\trimAndStrip(), ilStyleImportParser\trimAndStrip(), ilExerciseXMLParser\trimAndStrip(), ilMDSaxParser\trimAndStrip(), SurveyImportParser\trimAndStrip(), ilMDEditorGUI\updateAnnotation(), ilMDEditorGUI\updateClassification(), ILIAS\COPage\Editor\Components\Page\PageCommandActionHandler\updateCommand(), ilMDEditorGUI\updateEducational(), ilMDEditorGUI\updateGeneral(), ilPCDataTableGUI\updateJS(), ilMDKeyword\updateKeywords(), ilMDEditorGUI\updateLifecycle(), ilObjLinkResourceGUI\updateLinks(), ilExerciseXMLParser\updateMarking(), ilSessionMembershipGUI\updateMembers(), ilMDEditorGUI\updateMetaMetaData(), ILIAS\COPage\Editor\Components\Paragraph\ParagraphCommandActionHandler\updateParagraph(), ilMDEditorGUI\updateQuickEdit(), ilMDEditorGUI\updateQuickEdit_scorm(), ilMDEditorGUI\updateQuickEdit_scorm_propagate(), ilAdvancedMDSettingsGUI\updateRecords(), ilMDEditorGUI\updateRelation(), ilMDEditorGUI\updateRights(), ilRegistrationGUI\updateSubscriptionRequest(), ilMDEditorGUI\updateTechnical(), ilExAssignmentFileSystemGUI\uploadFile(), ilFileSystemGUI\uploadFile(), ilObjLanguageExtGUI\uploadObject(), ilObjForumGUI\viewThreadObject(), assMatchingQuestionGUI\writeAnswerSpecificPostData(), and assLongMenuGUI\writeQuestionSpecificPostData().
|
static |
switches style sheets for each even $a_num (used for changing colors of different result rows)
Definition at line 216 of file class.ilUtil.php.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
|
static |
Definition at line 919 of file class.ilUtil.php.
Referenced by ilObjContentObject\exportXMLProperties(), ilObjRoleGUI\permSaveObject(), ilUserPrivacySettingsGUI\savePrivacySettings(), ilObjSAHSLearningModule\setAutoReview(), ilObjGlossary\update(), ilObjSAHSLearningModule\update(), and ilObjContentObject\updateProperties().
|
staticprivate |
Definition at line 689 of file class.ilUtil.php.
References $DIC, and secureLink().
Referenced by unmaskSecureTags().
|
staticprivate |
Definition at line 539 of file class.ilUtil.php.
References unmaskAttributeTag(), and unmaskTag().
Referenced by secureString().
|
staticprivate |
Definition at line 744 of file class.ilUtil.php.
Referenced by unmaskSecureTags().
|
static |
Definition at line 907 of file class.ilUtil.php.
Referenced by ilLMObject\_isPagePublic(), ilObjGlossaryAccess\_lookupOnline(), ilObjGlossary\_lookupOnline(), ilObjGlossaryAccess\_lookupOnlineStatus(), ilSCORM2004Tracking\_syncReadEvent(), ilChatUserActionProvider\acceptsMessages(), ilQuestionPageParser\buildTag(), ilChatroomUser\enabledBroadcastTyping(), ilLMMenuItemsTableGUI\fillRow(), ilMailSearchObjectMembershipsTableGUI\fillRow(), ilObjSAHSLearningModule\getAutoReview(), ilBuddySystemLinkButton\getHtml(), ILIAS\OnScreenChat\Provider\OnScreenChatProvider\getSlateMessageBox(), ilProfileChecklistStatus\getStatusDetails(), ilOnScreenChatAppEventListener\handleEvent(), ilLearningModuleDataSet\importRecord(), ilObjUserGUI\initForm(), ilOnScreenChatGUI\initializeFrontend(), ilUserPrivacySettingsGUI\populateWithChatSettingsSection(), ilObjGlossary\read(), ilObjSAHSLearningModule\read(), ilObjContentObject\readProperties(), ilBuddySystemGUI\requestCommand(), ilUserPrivacySettingsGUI\savePrivacySettings(), ilObjSCORMLearningModuleGUI\saveProperties(), ilObjGlossaryGUI\saveProperties(), and ilBuddySystemGUI\transitionAsyncCommand().