|
ILIAS
release_8 Revision v8.24
|
Util class various functions, usage as namespace. More...
Collaboration diagram for ilUtil: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(), ilExerciseXMLParser\handlerBeginTag(), ilFileXMLParser\handlerBeginTag(), ilObjectXMLParser\handlerBeginTag(), ilUserImportParser\importBeginTag(), ilSoapUserAdministration\importUsers(), ilSoapRBACAdministration\parseUserID(), ilGroupXMLParser\save(), and ilUserImportParser\verifyBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1332 of file class.ilUtil.php.
References $_SERVER, $DIC, $ilIliasIniFile, and ilContext\usesHTTP().
Referenced by ilMail\_getAutoGeneratedMessageString(), ilMail\_getInstallationSignature(), ilAuthProviderCAS\doAuthentication(), ilMailEnvironmentHelper\getHttpPath(), ilTestPlayerAbstractGUI\getNavigationUrlParameter(), ilForumMailNotification\getPermanentLink(), ilForumMailEventNotificationSender\getPermanentLink(), ilChatroomAdminViewGUI\getReadmePath(), ilMailFormCall\getRefererRedirectUrl(), ilSoapClient\init(), ilCronManagerImpl\runActiveJobs(), and ilMailSummaryNotification\send().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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.
@access 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 $ilDB.
Referenced by ilGroupActionTargetExplorerGUI\__construct(), ilObjQuestionPool\_getAvailableQuestionpools(), ilObjTest\_getAvailableTests(), ilECSSettingsGUI\exportImported(), ilGroupUserActionProvider\getCommandAccess(), ilCourseGroupingAssignmentTableGUI\getItems(), ilECSSettingsGUI\imported(), and ilObjectCopyGUI\sourceExists().
Here is the caller graph for this function:
|
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(), 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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(), ilDataCollectionGlobalTemplate\fillJavascriptFile(), ilRTEGlobalTemplate\fillJavascriptFile(), ilGlobalTemplate\fillJavascriptFile(), ilAssQuestionHintsTableGUI\fillRow(), ilObjTestListGUI\getCommandLink(), ilObjQuestionPoolListGUI\getCommandLink(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\getDeleteHref(), ilTestRandomQuestionSetSourcePoolDefinitionListTableGUI\getEditHref(), ILIAS\LearningModule\Menu\ilLMMenuGUI\getEntries(), ilIntLinkRepItemExplorerGUI\getNodeHref(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), ilAuthFrontendCredentialsApache\getTargetUrl(), ilPCQuestionGUI\setTabs(), and ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().
Here is the caller graph for this function:
|
static |
checks if mime type is provided by getimagesize()
Definition at line 933 of file class.ilUtil.php.
Referenced by ilMediaPoolTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilMediaItem\getOriginalSize(), and ilObjMediaPoolSubItemListGUI\parseImage().
Here is the caller graph for this function:
|
static |
Definition at line 362 of file class.ilUtil.php.
Referenced by ilTestExport\aggregatedResultsToCSV(), ilMemberExportGUI\deliverData(), ilCertificateUtilHelper\deliverData(), ilObjTest\deliverPDFfromFO(), ilPublicUserProfileGUI\deliverVCard(), ilObjLanguageFolderGUI\downloadDeprecatedObject(), ilMemberExportGUI\downloadExportFile(), ilObjLanguageExtGUI\downloadObject(), ilSurveyParticipantsGUI\exportAllCodesObject(), ilRegistrationSettingsGUI\exportCodes(), ilAccountCodesGUI\exportCodes(), ilSurveyParticipantsGUI\exportCodesObject(), ilSessionOverviewGUI\exportCSV(), ilSurveyEvaluationGUI\exportEvaluationUser(), ilObjLinkResourceGUI\exportHTML(), ilObjAssessmentFolderGUI\exportLogObject(), ilDidacticTemplateSettingsGUI\exportTemplate(), ilTestExport\exportToCSV(), ilCalendarRemoteAccessHandler\handleRequest(), and ilObjSCORMLearningModule\sendExportFile().
Here is the caller graph for this function:
|
static |
Definition at line 854 of file class.ilUtil.php.
Referenced by ilPCMediaObjectGUI\saveAliasProperties(), and ilMediaItem\setParameters().
Here is the caller graph for this function:
|
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.
|
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 ilDclExportTableGUI\fillRow(), ilFileVersionsTableGUI\fillRow(), ilLMDownloadTableGUI\fillRow(), ilExportTableGUI\fillRow(), ilFileSystemTableGUI\fillRow(), ilMemberExportFileTableGUI\fillRow(), ilMailAttachmentTableGUI\formatValue(), ilObjFileGUI\infoScreenForward(), ilMailAttachmentGUI\saveAttachments(), ilMailFormGUI\showForm(), and ilMailAttachmentGUI\uploadFile().
Here is the caller graph for this function:
|
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 ilPreview\getImages(), and ilAuthFrontendCredentialsApache\tryAuthenticationOnLoginPage().
Here is the caller graph for this function:
|
static |
get image path (for images located in a template directory)
Definition at line 67 of file class.ilUtil.php.
References $DIC.
Referenced by ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeExpandableProgressListGUI\__construct(), ilLPStatusIcons\__construct(), ilPollUserTableGUI\__construct(), ILIAS\MediaCast\Video\VideoItem\__construct(), ilRepositoryObjectPlugin\_getImagePath(), ilExAssignmentGUI\addFiles(), ilObjDataCollectionGUI\addHeaderAction(), ILIAS\COPage\Editor\Components\Page\PageQueryActionHandler\allCommand(), ilUserPrivacySettingsGUI\appendChatJsToTemplate(), ilConditionHandlerGUI\askDelete(), ilExSubmissionObjectGUI\askUnlinkPortfolioObject(), ilPersonalSkillsGUI\assignMaterials(), ilObjAuthSettingsGUI\authSettingsObject(), ilParticipantsTestResultsTableGUI\buildFailedIcon(), ilTestQuestionsTableGUI\buildObligatoryColumnContent(), ilTestParticipantsTableGUI\buildOkIcon(), ilParticipantsTestResultsTableGUI\buildPassedIcon(), ilObjContentObjectGUI\chapters(), ilMembershipGUI\confirmAssignFromWaitingList(), ilMembershipGUI\confirmAssignSubscribers(), ilGlossaryTermGUI\confirmDefinitionDeletion(), 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(), ilObjSessionGUI\eventsListObject(), ilBlogPostingGUI\executeCommand(), ilTermDefinitionEditorGUI\executeCommand(), ilLMPageObjectGUI\executeCommand(), ilPortfolioRepositoryGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilAchievementsGUI\executeCommand(), ilMembershipOverviewGUI\executeCommand(), ilSystemStyleHTMLExport\export(), ilMailFolderTableGUI\fetchTableData(), ilTable2GUI\fillActionRow(), ilDataCollectionGlobalTemplate\fillAdminPanel(), ilLuceneAdvancedSearchGUI\fillAdminPanel(), ilLuceneSearchGUI\fillAdminPanel(), ilGlobalTemplate\fillAdminPanel(), ILIAS\Services\UICore\MetaTemplate\PageContentGUI\fillAdminPanel(), ilTable2GUI\fillHeader(), ilBlockGUI\fillHeaderCommands(), ilCourseObjectiveQuestionsTableGUI\fillRow(), ilTimingsManageTableGUI\fillRow(), ilTimingsPersonalTableGUI\fillRow(), ilCourseReferenceDeleteConfirmationTableGUI\fillRow(), ilItemGroupItemsTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilSessionMaterialsTableGUI\fillRow(), ilSessionOverviewTableGUI\fillRow(), ilSurveyQuestionTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilListOfQuestionsTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilAccessPermissionsStatusTableGUI\fillRow(), ilAvailableRolesStatusTableGUI\fillRow(), ilAuthLoginPageEditorTableGUI\fillRow(), ilShibbolethRoleAssignmentTableGUI\fillRow(), ilCalendarChangedAppointmentsTableGUI\fillRow(), ilCalendarInboxSharedTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilCalendarSharedListTableGUI\fillRow(), ilConditionHandlerTableGUI\fillRow(), ilPageLayoutTableGUI\fillRow(), ilDidacticTemplateSettingsTableGUI\fillRow(), ilFileSystemTableGUI\fillRow(), ilHistoryTableGUI\fillRow(), ilLDAPRoleAssignmentTableGUI\fillRow(), ilLDAPServerTableGUI\fillRow(), ilPDMailBlockGUI\fillRow(), ilSamlIdpTableGUI\fillRow(), ilLPCollectionSettingsTableGUI\fillRow(), ilLPProgressTableGUI\fillRow(), ilTrMatrixTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilECSServerTableGUI\fillRow(), ilDclFieldListTableGUI\fillRowFromObject(), ilDclTableViewTableGUI\fillRowFromObject(), ilDataCollectionGlobalTemplate\fillSideIcons(), ilGlobalTemplate\fillSideIcons(), assQuestion\fixUnavailableSkinImageSources(), ilSCORMPresentationGUI\frameset(), assQuestionGUI\generateCorrectnessIconsForCorrectness(), ilForumThreadFormGUI\generateInputItems(), ilUserAvatarResolver\getAvatar(), ilChapterHierarchyFormGUI\getChildIcon(), ilHierarchyFormGUI\getChildIcon(), ilHierarchyFormGUI\getContent(), ilAssNestedOrderingElementsInputGUI\getCorrectnessIcon(), ilCourseLearningHistoryProvider\getEntries(), ilBadgeLearningHistoryProvider\getEntries(), ilFirstLoginLearningHistoryProvider\getEntries(), ilSkillLearningHistoryProvider\getEntries(), ilAsyncPropertyFormGUI\getErrorMessageTemplate(), ilStudyProgrammeExpandableProgressListGUI\getExpandedImageURL(), ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\StandardPagePartProvider\getFaviconPath(), ilMainMenuSearchGUI\getHTML(), ilAdvancedSelectionListGUI\getHTML(), ilDclBooleanRecordRepresentation\getHTML(), ilDclFileuploadRecordRepresentation\getHTML(), ilForumNotificationTableGUI\getIcon(), ILIAS\Administration\AdministrationMainBarProvider\getIconForGroup(), ilSkillTreeNode\getIconPath(), ilObjSCORMInitData\getIliasScormVars(), ilSCORM13PlayerGUI\getInlineCSS(), ilContainerStartObjectsContentTableGUI\getItems(), ilCalendarSelectionBlockGUI\getLegacyContent(), ilPDMailBlockGUI\getListItemForData(), ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\StandardPagePartProvider\getLogo(), ilLMHtmlExportViewLayoutProvider\getMainBarModification(), ILIAS\User\Provider\UserMetaBarProvider\getMetaBarItems(), ilLMEditorExplorerGUI\getNodeIcon(), ilPublicSectionExplorerGUI\getNodeIcon(), ilLMTOCExplorerGUI\getNodeIcon(), ilMediaPoolExplorerGUI\getNodeIcon(), ilMailExplorer\getNodeIcon(), ilWorkspaceExplorerGUI\getNodeIcon(), ilPersonalSkillExplorerGUI\getNodeIcon(), ilSkillTemplateTreeExplorerGUI\getNodeIcon(), ilSkillTreeExplorerGUI\getNodeIcon(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilTaxonomyExplorerGUI\getNodeIcon(), ilStudyProgrammeExpandableProgressListGUI\getNotExpandedImageURL(), ilExplorer\getOutput(), ilSCORMExplorer\getOutputIcons(), ILIAS\Portfolio\PortfolioPrintViewProviderGUI\getPages(), ilSCORM13PlayerGUI\getPlayer(), ilPortfolioRepositoryGUI\getPortfolioList(), assKprimChoiceGUI\getPreview(), assMatchingQuestionGUI\getPreview(), assMultipleChoiceGUI\getPreview(), assSingleChoiceGUI\getPreview(), ilTestQuestionHeaderBlockBuilder\getQuestionInfoHTML(), ilTestQuestionNavigationGUI\getQuestionMarkIconSource(), ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\StandardPagePartProvider\getResponsiveLogo(), ilTestServiceGUI\getResultsSignature(), ILIAS\Blog\BlogPrintViewProviderGUI\getSelectionForm(), ILIAS\Portfolio\PortfolioPrintViewProviderGUI\getSelectionForm(), ILIAS\Wiki\WikiPrintViewProviderGUI\getSelectionForm(), ILIAS\EmployeeTalk\Provider\MyStaffListEntryProvider\getStaticSubItems(), ILIAS\Membership\GlobalScreen\MembershipMainBarProvider\getStaticSubItems(), ILIAS\MyStaff\Provider\StaffMainBarProvider\getStaticSubItems(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getStaticSubItems(), ILIAS\MainMenu\Provider\StandardTopItemsProvider\getStaticTopItems(), ilObjGlossaryGUI\getTemplate(), assSingleChoiceGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), ilObjectListGUI\getTileImagePath(), ilLMEditGSToolProvider\getToolsForContextStack(), ilMediaPoolGSToolProvider\getToolsForContextStack(), ilCOPageEditGSToolProvider\getToolsForContextStack(), ilSkillGSToolProvider\getToolsForContextStack(), ilTaxonomyGSToolProvider\getToolsForContextStack(), ILIAS\COPage\Editor\Components\Page\PageQueryActionHandler\getTopActions(), ilUserAvatarFile\getUrl(), ilLMPresentationGUI\ilMedia(), ilLMPageObjectGUI\initEditLayoutForm(), ilObjGroupGUI\initForm(), ilObjLTIConsumerGUI\initHeaderAction(), ilObjBookingPoolGUI\initHeaderAction(), ilObjCmiXapiGUI\initHeaderAction(), ilObjCourseGUI\initHeaderAction(), ilObjForumGUI\initHeaderAction(), ilObjGroupGUI\initHeaderAction(), ilObjStudyProgrammeGUI\initHeaderAction(), ilOnScreenChatGUI\initializeFrontend(), SurveyConstraintsTableGUI\initItems(), ilAwarenessGUI\initJS(), ilObjUserFolderGUI\initNewAccountMailForm(), ilObjWikiGUI\initSettingsForm(), ilMatrixRowWizardInputGUI\insert(), ilObjLTIConsumerListGUI\insertIconsAndCheckboxes(), ilObjectListGUI\insertIconsAndCheckboxes(), ilObjOrgUnitListGUI\insertInfoScreenCommand(), ilObjectListGUI\insertInfoScreenCommand(), ilObjectListGUI\insertTitle(), ilUserCertificateGUI\listCertificates(), ilGlossaryTermGUI\listDefinitions(), ilGlossaryTermGUI\listUsages(), ilMStListCertificatesGUI\listUsers(), ilMStListCompetencesSkillsGUI\listUsers(), ilMStListCoursesGUI\listUsers(), ilMStListUsersGUI\listUsers(), ilPDSelectedItemsBlockGUI\manageObject(), ilGlossaryPresentationGUI\media(), ilObjMediaPoolSubItemListGUI\parseImage(), ilObjWorkflowEngineGUI\prepareAdminOutput(), ilDashboardGUI\prepareContentView(), ilGlossaryPresentationGUI\prepareOutput(), ilCalendarPresentationGUI\prepareOutput(), ilGlossaryPresentationGUI\printViewSelection(), ilTable2GUI\render(), ilTableGUI\render(), ilProgressBar\render(), ilLMNavigationRendererGUI\render(), ilHierarchyFormGUI\renderChild(), ilCalendarSelectionBlockGUI\renderItem(), ilTestQuestionSideListGUI\renderList(), ilSurveyPageEditGUI\renderPage(), ilImagePathResolver\resolveImagePath(), ilPersonalSkillsGUI\selfEvaluation(), ilBadgeHandler\sendNotification(), ilLMPresentationGUI\setHeader(), ilImageLinkButton\setImage(), ilSAHSPresentationGUI\setInfoTabs(), ilObjTaxonomyGUI\setTabs(), ilStructureObjectGUI\setTabs(), ilObjSAHSLearningModuleGUI\setTabs(), ilObjMediaObjectGUI\setTabs(), ilSkillTemplateGUI\setTabs(), ilPageLayoutGUI\setTabs(), ilObjPortfolioGUI\setTitleAndDescription(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilObjLanguageExtGUI\setTitleAndDescription(), ilObjUserGUI\setTitleAndDescription(), ilDashboardGUI\show(), ilDerivedTasksGUI\show(), ilNewsTimelineGUI\show(), ilLMObjectGUI\showActions(), ilObjContentObjectGUI\showActions(), ilContentStyleSettingsGUI\showActions(), ilObjWorkspaceFolderGUI\showAdministrationPanel(), ilContainerGUI\showAdministrationPanel(), ilPasswordAssistanceGUI\showAssignPasswordForm(), ilPasswordAssistanceGUI\showAssistanceForm(), ilStartUpGUI\showCASLoginForm(), ilGlossaryPresentationGUI\showDownloadList(), ilLTIConsumerContentGUI\showEmbedded(), ilCalendarMonthGUI\showEvents(), ilCalendarDayGUI\showFulldayAppointment(), ilCalendarWeekGUI\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().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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\addUserTextEditor(), ilDataCollectionGlobalTemplate\fillNewContentStyle(), ilGlobalTemplate\fillNewContentStyle(), and ilGlobalPageTemplate\prepareBasicCSS().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 484 of file class.ilUtil.php.
Referenced by ilAssSelfAssessmentQuestionFormatter\getSelfAssessmentTags(), and secureString().
Here is the caller graph for this function:
|
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.
Referenced by 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(), ilExplorer\getOutput(), ilSCORM13PlayerGUI\getPlayer(), assMatchingQuestionGUI\getPreview(), ilPlugin\getStyleSheetLocation(), assMatchingQuestionGUI\getTestOutput(), ILIAS\Glossary\Export\GlossaryHtmlExport\initScreen(), ilGlossaryPresentationGUI\media(), ilTestPlayerAbstractGUI\outCorrectSolution(), ilTestServiceGUI\outCorrectSolution(), ilTestEvaluationGUI\outEvaluation(), ilTestEvaluationGUI\outParticipantsPassDetails(), ilTestEvaluationGUI\outParticipantsResultsOverview(), ilTestEvaluationGUI\outUserListOfAnswerPasses(), ilTestEvaluationGUI\outUserPassDetails(), ilTestEvaluationGUI\outUserResultsOverview(), ilLMPresentationGUI\page(), ilGlobalPageTemplate\prepareBasicCSS(), ilObjTestGUI\printobject(), ilForumExportGUI\printPost(), ilForumExportGUI\printThread(), 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().
Here is the caller graph for this function:
|
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(), ilInternalLinkGUI\getUserSearchResult(), ilAsyncNotifications\initJs(), ilDclRecordEditGUI\save(), ilGroupAddToGroupActionGUI\selectParent(), ilDclRecordEditGUI\sendFailure(), and ilGroupAddToGroupActionGUI\show().
Here is the caller graph for this function:
|
static |
checks if group name already exists.
Groupnames must be unique for mailing purposes static function
@access 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().
Here is the caller graph for this function:
|
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 ilMailFolderTableGUI\fetchTableData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Build img tag.
Definition at line 329 of file class.ilUtil.php.
References $img.
Referenced by ilChatroomAdminSmileyGUI\deleteMultipleObject(), ilTable2GUI\fillHeader(), ilItemGroupItemsTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilListOfQuestionsTableGUI\fillRow(), ilPCIIMOverlaysTableGUI\fillRow(), ilAdminSubItemsTableGUI\fillRow(), ilSearchResultTableGUI\fillRow(), ilObjClipboardTableGUI\fillRow(), ilObjectListGUI\getHeaderAction(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getHomeItem(), ilObjectAddNewItemGUI\getHTML(), ilMainMenuSearchGUI\getHTML(), ilNoteGUI\getOriginHeader(), ilLMPageObjectGUI\initEditLayoutForm(), ilOnScreenChatGUI\initializeFrontend(), ilEmployeeTalkMyStaffListGUI\loadActionBar(), ilEmployeeTalkMyStaffUserGUI\loadActionBar(), ilObjMediaPoolSubItemListGUI\parseImage(), ilSCORM2004TrackingItemsTableGUI\parseValue(), ilSCORMTrackingItemsTableGUI\parseValue(), ilNestedListInputGUI\render(), ilExplorerBaseGUI\renderNode(), and ilChatroomAdminSmileyGUI\showDeleteSmileyFormObject().
Here is the caller graph for this function:
|
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 ilObjTest\modifyExportIdentifier(), ilObjQuestionPool\modifyExportIdentifier(), and ilObjMediaObject\modifyExportIdentifier().
Here is the caller graph for this function:
|
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.nosp@m.ster.nosp@m.@123..nosp@m.45.1.nosp@m.23.45) Valid top level domains: http://data.iana.org/TLD/tlds-alpha-by-domain.txt
Definition at line 283 of file class.ilUtil.php.
Referenced by ilEMailInputGUI\checkInput(), ilCmiXapiUser\getIdent(), ilSurveyExecutionGUI\mailUserResults(), ilObjSurveyGUI\mailUserResultsObject(), ilCalendarUserNotification\validate(), and ilObjCourse\validateInfoSettings().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
static |
Definition at line 303 of file class.ilUtil.php.
Referenced by ilUserLoginInputGUI\checkInput(), ilAuthProviderApache\doAuthentication(), ilAccountRegistrationGUI\saveForm(), and ilPersonalProfileGUI\updateLoginOrSetErrorMessages().
Here is the caller graph for this function:
|
static |
Definition at line 1016 of file class.ilUtil.php.
Referenced by ilPreviewRenderer\createPreviewImage(), ilGitInformation\detect(), ilImagemapPreview\execQuoted(), and ilShellUtil\execQuoted().
Here is the caller graph for this function:
|
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 ilAppointmentPresentationGUI\addEventDescription(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilAppointmentPresentationGroupGUI\collectPropertiesAndActions(), ilAppointmentPresentationSessionGUI\collectPropertiesAndActions(), ilCourseRegistrationGUI\fillInformations(), ilGroupRegistrationGUI\fillInformations(), ilPDNewsTableGUI\fillRow(), ilCalendarAppointmentPanelGUI\getHTML(), ilADTExternalLinkPresentationBridge\getHTML(), htmlencodePlainString(), ilObjCourseGUI\infoScreen(), ilObjGroupGUI\infoScreen(), ilNewsForContextBlockGUI\makeClickable(), ilPDNewsTableGUI\makeClickable(), ilUtilTest\testMakeClickableWithGotoLinksAndInvalidRefId(), and ilUtilTest\testMakeClickableWithoutGotoLinks().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 653 of file class.ilUtil.php.
References $DIC.
Referenced by maskSecureTags().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 508 of file class.ilUtil.php.
References maskAttributeTag(), and maskTag().
Referenced by secureString().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 718 of file class.ilUtil.php.
Referenced by maskSecureTags().
Here is the caller graph for this function:
|
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(), ilObjSCORMTracking\_insertTrackData(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\addFulfilmentEntry(), ilSkillLevelDBRepository\addLevel(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\addNonFulfilmentEntry(), ilRepositoryObjectPlugin\beforeActivation(), ilNewsItem\create(), ilWebDAVMountInstructionsDocumentFormGUI\createFilledObject(), ilPageObject\createFromXML(), ILIAS\Notes\NotesManager\createNote(), ilAuthProviderLTI\createUser(), ilCalendarHeaderNavigationGUI\getHTML(), ilNewsItem\getLastNewsIdForContext(), ilLMNavigationStatus\getPredecessorPageId(), ilWikiUserHTMLExport\getProcess(), ilLMNavigationStatus\getSuccessorPageId(), ilSkillUserLevelDBRepository\hasRecentSelfEvaluation(), ilObjSCORM2004LearningModule\importSuccess(), ilObjSCORMLearningModule\importSuccess(), ilPreviewRenderer\render(), ilLMContentRendererGUI\renderDeactivatedPageMessage(), ilObjUser\saveAsNew(), ilObjForum\saveData(), ilUserProfilePromptDataGateway\saveLastUserPrompt(), ilExAssignmentMemberStatus\setFeedback(), ilExAssignmentMemberStatus\setMark(), ilExAssignmentMemberStatus\setSent(), ilExAssignmentMemberStatus\setStatus(), ilUserProfileStartUpStep\shouldInterceptRequest(), ilObjSCORMTracking\storeJsApiCmi(), ilBlogPosting\unpublish(), ilObjUser\update(), ilNewsItem\update(), ilPageObject\update(), ilPageObject\updateFromXML(), ilExSubmission\updateTextSubmission(), ilExSubmission\updateTutorDownloadTime(), and ILIAS\Exercise\Submission\SubmissionDBRepository\updateWebDirAccessTime().
Here is the caller graph for this function:
|
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 ilECSEnrolmentStatusCommandQueueHandler\handleCreate(), ilAdvancedMDRecordParser\handlerBeginTag(), ilQuestionPageParser\handlerEndTag(), and ilAdvancedMDFieldDefinitionInternalLink\importValueFromXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 948 of file class.ilUtil.php.
References $DIC.
Referenced by ilLearningProgressGUI\__getNextClass(), ilStartUpGUI\_checkGoto(), ilObjCourseGUI\_goto(), ilObjSystemFolderGUI\_goto(), ilObjGroupGUI\_goto(), ilObjLearningSequence\_goto(), ilObjItemGroupGUI\_goto(), ilObjPollGUI\_goto(), ilObjLinkResourceGUI\_goto(), ilCourseRegistrationGUI\add(), ilGroupRegistrationGUI\add(), ilObjCourseGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), ilObjMediaCastGUI\afterSave(), ilObjMediaPoolGUI\afterSave(), ilObjOrgUnitGUI\afterSave(), ilObjSurveyGUI\afterSave(), ilObjSurveyQuestionPoolGUI\afterSave(), ilObjQuestionPoolGUI\afterSave(), ilObjLinkResourceGUI\afterSave(), ilObjWikiGUI\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\deleteOwnAccountLogout(), ilImageMapEditorGUI\editImagemapForward(), ilErrorHandling\errorHandler(), ilObjMediaPoolGUI\executeCommand(), ilSAHSEditGUI\executeCommand(), ilTestExpressPageObjectGUI\executeCommand(), ilCalendarPresentationGUI\executeCommand(), ilDashboardGUI\executeCommand(), ilObjTestGUI\executeCreateQuestionObject(), ilLTIViewGUI\getContextId(), ilPublicUserProfileGUI\getHTML(), ilObjItemGroupGUI\gotoParent(), ilObjWikiGUI\gotoStartPageObject(), ilMembershipRegistrationCodeUtils\handleCode(), ilNavigationHistoryGUI\handleNavigationRequest(), ilTestExpressPageObjectGUI\handleToolbarCommand(), ilObjSurveyQuestionPoolGUI\importFileObject(), ilObjSurveyGUI\importSurveyObject(), ilObjTestGUI\importVerifiedFileObject(), ilObjQuestionPoolGUI\importVerifiedFileObject(), ilEditClipboardGUI\insert(), ilObjUserFolderGUI\mailObject(), ilMailingListsGUI\mailToList(), ilObjRoleGUI\mailToRoleObject(), ilObjSCORMLearningModuleGUI\newModuleVersionUpload(), ilTestExpressPageObjectGUI\nextQuestion(), ilExerciseManagementGUI\openSubmissionViewObject(), ilAssQuestionHintRequestGUI\performRequestCmd(), ilObjLearningSequenceLearnerGUI\play(), ilTestExpressPageObjectGUI\prevQuestion(), ilObjTestGUI\questionsObject(), ilObjQuestionPoolGUI\questionsObject(), ilShibbolethWAYF\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(), 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().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 256 of file class.ilUtil.php.
References $DIC, $ref_id, and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Definition at line 764 of file class.ilUtil.php.
Referenced by ilObjMediaObjectGUI\savePropertiesObject(), and unmaskAttributeTag().
Here is the caller graph for this function:
|
static |
Definition at line 573 of file class.ilUtil.php.
Referenced by ilMailFormGUI\editAttachments(), ilMailFormGUI\saveDraft(), ilMailFormGUI\saveMailBeforeSearch(), ilMailFormGUI\search(), ilMailFormGUI\searchUsers(), ilMailFormGUI\sendMessage(), and ilMailFormGUI\showForm().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 834 of file class.ilUtil.php.
References $url.
Referenced by ilDataCollectionGlobalTemplate\fillFooter(), ilGlobalTemplate\fillFooter(), ilGroupedListGUI\getHTML(), and ilObjMediaObject\getXML().
Here is the caller graph for this function:
|
static |
Definition at line 1285 of file class.ilUtil.php.
Referenced by ilStartUpGUI\doLogout(), ilLTIViewGUI\logout(), ilSessionControl\removeSessionCookie(), and ilInitialisation\setClientIdCookie().
Here is the caller graph for this function:
|
static |
Definition at line 413 of file class.ilUtil.php.
Referenced by assFormulaQuestionGUI\writePostData(), and assQuestionGUI\writeQuestionGenericPostData().
Here is the caller graph for this function:
|
static |
Definition at line 786 of file class.ilUtil.php.
Referenced by ilDataCollectionGlobalTemplate\fillHeader(), ilGlobalTemplate\fillHeader(), ILIAS\Services\UICore\MetaTemplate\PageContentGUI\fillHeader(), ilDataCollectionGlobalTemplate\fillWindowTitle(), ilGlobalTemplate\fillWindowTitle(), and secureString().
Here is the caller graph for this function:
|
static |
Definition at line 401 of file class.ilUtil.php.
References secureString().
Referenced by ilTaxonomyExplorerGUI\__construct(), ilObjTaggingSettingsGUI\__construct(), ilSearchGUI\__construct(), ilLDAPSettingsGUI\__construct(), ilSearchGUI\__parseQueryString(), ilUserSearchFilter\__parseQueryString(), ilRepositorySearchGUI\__parseQueryString(), ilAdvancedSearchGUI\__performContentSearch(), ilAdvancedSearchGUI\__performEntitySearch(), ilAdvancedSearchGUI\__performGeneralSearch(), ilAdvancedSearchGUI\__performKeywordSearch(), ilAdvancedSearchGUI\__performLifecycleSearch(), ilAdvancedSearchGUI\__performTaxonSearch(), ilAdvancedSearchGUI\__performTitleSearch(), ilFileUtils\_sanitizeFilemame(), ilHierarchyFormGUI\_str(), ilObjGlossaryGUI\addDefinition(), ilObjContentObjectGUI\addTooltip(), ilTermsOfServiceAcceptanceHistoryGUI\addUserAutoComplete(), ilCmiXapiStatementsGUI\asyncUserAutocompleteCmd(), ilLTIConsumerGradeSynchronizationGUI\asyncUserAutocompleteCmd(), ilLTIConsumerXapiStatementsGUI\asyncUserAutocompleteCmd(), ilObjForumGUI\autosaveDraftAsyncObject(), ilObjForumGUI\autosaveThreadDraftAsyncObject(), ilRepositoryTrashGUI\buildPath(), ilAssQuestionSkillAssignmentsTableGUI\buildSkillPointsInput(), ilObjSystemFolderGUI\changeHeaderTitleObject(), ilPDSelectedItemsBlockGUI\changePDItemPresentation(), ilPDSelectedItemsBlockGUI\changePDItemSorting(), ilDclGenericMultiInputGUI\checkInput(), ilOrgUnitMultiLineInputGUI\checkInput(), ilSuggestedSolutionSelectorGUI\checkInput(), ilClozeGapInputBuilderGUI\checkInput(), ilFileInputGUI\checkInput(), ilMailQuickFilterInputGUI\checkInput(), ilObjSurvey\cloneTextblocks(), ilChatroomPrivateRoomGUI\create(), ilFileSystemGUI\createDirectory(), ilObjFileBasedLMGUI\createFromDirectory(), ilObjForumGUI\decorateWithAutosave(), ilExAssignmentEditorGUI\deleteAssignmentsObject(), ilMailAttachmentGUI\deleteAttachments(), ilFileSystemGUI\deleteFile(), ilPCInteractiveImageGUI\deleteOverlays(), ilObjSurveyGUI\doAutoCompleteObject(), ilStartUpGUI\doSamlAuthentication(), ilSCORM13PlayerGUI\downloadLog(), ilObjLanguageExtGUI\downloadObject(), ilObjTestGUI\executeCommand(), ilTestExpressPageObjectGUI\executeCommand(), assQuestionGUI\executeCommand(), ilCronManagerGUI\executeCommand(), ilMailGUI\executeCommand(), ilObjContentObjectGUI\export(), ilObjMediaPoolGUI\export(), ilObjContentObjectGUI\exportHTML(), ilFileSystemGUI\extCommand(), ilExportIDTableGUI\fillRow(), ilMailSearchObjectMembershipsTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilMailTemplateGUI\getAjaxPlaceholdersById(), ilPCDataTableGUI\getCellContent(), ilSCORM13MDImporter\getDescription(), ilObjUser\getFullname(), ilFormulaInputGUI\getInput(), ilTextAreaInputGUI\getInput(), ilLMQuestionListTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilAssignedUsersTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilExplorerBaseGUI\getNodeAsync(), assAnswerCloze\getNumericValueFromText(), ilObjForumGUI\getOrderByParam(), ilSCORMPackageParser\getPackageTitle(), assTextQuestion\getSolutionSubmit(), ilTaggingGUI\getTagsFromInput(), ilSCORM13MDImporter\getTitle(), ilUserTableGUI\getUserIdsForFilter(), ilChatroomInviteUsersToPrivateRoomGUI\getUserList(), ilObjSessionGUI\handleFileUpload(), ilObjForumGUI\handleFormInput(), ilSCORMPackageParser\handlerCharacterData(), ilChatroomXMLParser\handlerEndTag(), ilForumXMLParser\handlerEndTag(), ilSCORM13Package\il_import(), ilPCTable\importHtml(), ilContentPageDataSet\importRecord(), ilObjChatroomGUI\insertObject(), ILIAS\COPage\Editor\Components\Paragraph\ParagraphCommandActionHandler\insertParagraph(), ilMDEditorGUI\keywordAutocomplete(), ilGlossaryPresentationGUI\listTerms(), ilECSUser\loadFromGET(), ilECSSettingsGUI\loadFromPost(), ilLDAPRoleGroupMappingSettings\loadFromPost(), ilObjEmployeeTalkSeriesGUI\loadRecurrenceSettings(), ilObjSessionGUI\loadRecurrenceSettings(), ilEmployeeTalkAppointmentGUI\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(), 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(), ilObjPortfolioBaseGUI\savePortfolioPagesOrdering(), ilObjFileAccessSettingsGUI\saveSettings(), ilObjAssessmentFolderGUI\saveSettingsObject(), ilObjTaxonomyGUI\saveSorting(), ilPortfolioRepositoryGUI\saveTitles(), ilTranslationGUI\saveTranslations(), ilObjectTranslationGUI\saveTranslations(), ilObjStudyProgrammeTreeGUI\saveTreeOrder(), assClozeTest\saveWorkingData(), assLongMenu\saveWorkingData(), ilPDFGenerationRequest\securedString(), ilPCTableGUI\setAlignment(), ilContentPagePageCommandForwarder\setBackLinkTab(), ilForumPageCommandForwarder\setBackLinkTab(), ilSCORM13MDImporter\setDescription(), ilLDAPRoleGroupMappingSetting\setRoleByName(), ilPCTableGUI\setStyles(), ilSCORM13MDImporter\setTitle(), ilPCTableGUI\setWidths(), ilCalendarCategoryGUI\sharePerformSearch(), ilStartUpGUI\showSamlLoginForm(), ilObjSCORM2004LearningModuleGUI\showTrackingItems(), ilObjSCORMLearningModuleGUI\showTrackingItems(), ilObjSCORM2004LearningModuleGUI\showTrackingItemsBySco(), ilObjSCORMLearningModuleGUI\showTrackingItemsBySco(), ilObjForumGUI\showUserObject(), ilBadgeGUIRequest\strArray(), ILIAS\Repository\HTML\HTMLUtil\strip(), ILIAS\Repository\strip(), ilCertificateUtilHelper\stripSlashes(), SurveyQuestion\stripSlashesAddSpaceFallback(), ilFormPropertyGUI\stripSlashesAddSpaceFallback(), ilArrayUtil\stripSlashesArray(), ilClozeGapInputBuilderGUI\stripSlashesRecursive(), ilArrayUtil\stripSlashesRecursive(), assLongMenuGUI\stripSlashesRecursive(), ilDataSet\stripTags(), ilPasswordAssistanceGUI\submitAssignPasswordForm(), ilBuddySystemGUI\transitionAsyncCommand(), ilExerciseXMLParser\trimAndStrip(), SurveyImportParser\trimAndStrip(), ilContainerBaseXmlParser\trimAndStrip(), ilMDSaxParser\trimAndStrip(), ilStyleImportParser\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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 ilForumExportGUI\renderPostHtml().
Here is the caller graph for this function:
|
static |
Definition at line 919 of file class.ilUtil.php.
Referenced by ilObjRoleGUI\permSaveObject(), ilUserPrivacySettingsGUI\savePrivacySettings(), ilObjSAHSLearningModule\setAutoReview(), ilObjGlossary\update(), ilObjSAHSLearningModule\update(), and ilObjContentObject\updateProperties().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 689 of file class.ilUtil.php.
References $DIC, and secureLink().
Referenced by unmaskSecureTags().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 539 of file class.ilUtil.php.
References unmaskAttributeTag(), and unmaskTag().
Referenced by secureString().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 744 of file class.ilUtil.php.
Referenced by unmaskSecureTags().
Here is the caller graph for this function:
|
static |
Definition at line 907 of file class.ilUtil.php.
Referenced by ilObjGlossaryAccess\_lookupOnline(), ilObjGlossaryAccess\_lookupOnlineStatus(), ilSCORM2004Tracking\_syncReadEvent(), ilChatUserActionProvider\acceptsMessages(), 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(), ilObjGlossary\read(), ilObjSAHSLearningModule\read(), ilObjContentObject\readProperties(), ilBuddySystemGUI\requestCommand(), ilUserPrivacySettingsGUI\savePrivacySettings(), ilObjGlossaryGUI\saveProperties(), ilObjSCORMLearningModuleGUI\saveProperties(), and ilBuddySystemGUI\transitionAsyncCommand().
Here is the caller graph for this function: