ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 $image_name, 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="") |
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, ?string $ilias_http_path=null) |
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 38 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 1200 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().
|
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 1180 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 1328 of file class.ilUtil.php.
References $_SERVER, $DIC, $ilIliasIniFile, and ilContext\usesHTTP().
Referenced by ILIAS\Cron\Job\Manager\UI\JobTable\__construct(), ilSamlIdpTableGUI\__construct(), ILIAS\Mail\Attachments\MailAttachmentTableGUI\__construct(), ilMail\_getAutoGeneratedMessageString(), ILIAS\Mail\Placeholder\MailSignatureIliasUrlPlaceholder\addPlaceholder(), ilErrorHandling\errorHandler(), ilPasswordAssistanceGUI\getBaseUrl(), ilMailEnvironmentHelper\getHttpPath(), ilTestPlayerAbstractGUI\getNavigationUrlParameter(), ilForumMailNotification\getPermanentLink(), ilForumMailEventNotificationSender\getPermanentLink(), ilMailFormCall\getRefererRedirectUrl(), ilLDAPSettingsGUI\getRoleAssignmentTable(), ILIAS\Forum\Notification\ForumNotificationTable\getTableComponent(), ilSoapClient\init(), ilLDAPSettingsGUI\roleMappingCmd(), ILIAS\Cron\Job\Manager\JobManagerImpl\runActiveJobs(), ilMailSummaryNotification\send(), ilLDAPSettingsGUI\serverListCmd(), ilMailFolderGUI\showFolder(), and ilForumModeratorsGUI\showModeratorsCommand().
|
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 1055 of file class.ilUtil.php.
References $ilDB.
Referenced by ilGroupActionTargetExplorerGUI\__construct(), ilObjTest\_getAvailableTests(), ilECSSettingsGUI\exportImported(), ILIAS\Course\Grouping\Table\AssignmentRetrieval\getAllEligibleRefIDs(), ilGroupUserActionProvider\getCommandAccess(), and ilECSSettingsGUI\imported().
|
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 1219 of file class.ilUtil.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ilArrayUtil\quoteArray().
Referenced by ilObjRoleGUI\adoptPermObject(), ilAppointmentPresentationCourseGUI\collectPropertiesAndActions(), ilObjSessionGUI\eventsListObject(), ilMemberExport\fetchUsers(), ilAttendanceList\getHTML(), ilPermissionGUI\initRoleForm(), ilConsultationHoursTableGUI\parse(), ilLDAPSettingsGUI\prepareGlobalRoleSelection(), ilAuthShibbolethSettingsGUI\prepareRoleSelect(), ilECSSettingsGUI\prepareRoleSelect(), ilSamlSettingsGUI\prepareRoleSelection(), ilOpenIdConnectSettingsGUI\prepareRoleSelection(), and ILIAS\Calendar\ConsultationHours\BookingDataProvider\read().
|
static |
Definition at line 381 of file class.ilUtil.php.
References $url.
Referenced by ilCmiXapiStatementsDeleteRequest\_lookUpDataCount(), ilObjectListGUI\appendRepositoryFrameParameter(), ilXapiCompliantStatementsReportLinkBuilder\appendRequestParameters(), ilCmiXapiAbstractReportLinkBuilder\appendRequestParameters(), assImagemapQuestionGUI\buildAreaLinkTarget(), ilCmiXapiLaunchGUI\buildLaunchLink(), ilPasswordAssistanceGUI\buildUrl(), ilStartUpGUI\doApacheAuthentication(), ilDataCollectionGlobalTemplate\fillJavascriptFile(), ilRTEGlobalTemplate\fillJavascriptFile(), ilGlobalTemplate\fillJavascriptFile(), ilCmiXapiStatementsDeleteRequest\getBatchUrl(), ilObjTestListGUI\getCommandLink(), ilObjQuestionPoolListGUI\getCommandLink(), ilCmiXapiStatementsDeleteRequest\getDeleteStateUrls(), ILIAS\LearningModule\Menu\ilLMMenuGUI\getEntries(), ilIntLinkRepItemExplorerGUI\getNodeHref(), assImagemapQuestionGUI\getPreviousSolutionConfirmationCheckboxHtml(), ilAuthFrontendCredentialsApache\getTargetUrl(), ILIAS\StaticURL\Handler\LegacyGotoHandler\handle(), ilPCQuestionGUI\setTabs(), and ilAuthFrontendCredentialsSoap\tryAuthenticationOnLoginPage().
|
static |
checks if mime type is provided by getimagesize()
Definition at line 929 of file class.ilUtil.php.
Referenced by ilMediaItem\getOriginalSize().
|
static |
Definition at line 358 of file class.ilUtil.php.
Referenced by ilMemberExportGUI\deliverData(), ilCertificateUtilHelper\deliverData(), ilObjTest\deliverPDFfromFO(), ILIAS\User\Profile\PublicProfileGUI\deliverVCard(), ilObjLanguageFolderGUI\downloadDeprecatedObject(), ilMemberExportGUI\downloadExportFile(), ilPRGMembersExportGUI\downloadExportFile(), ilObjLanguageExtGUI\downloadObject(), ilSurveyParticipantsGUI\exportAllCodesObject(), ilRegistrationSettingsGUI\exportCodes(), ilSurveyParticipantsGUI\exportCodesObject(), ilSessionOverviewGUI\exportCSV(), ilSurveyEvaluationGUI\exportEvaluationUser(), ilObjLinkResourceGUI\exportHTML(), ilObjTestFolderGUI\exportLegacyLogsObject(), ilObjTestGUI\exportLegacyLogsObject(), ilDidacticTemplateSettingsGUI\exportTemplate(), ilCalendarRemoteAccessHandler\handleRequest(), and ilObjSCORMLearningModule\sendExportFile().
|
static |
Definition at line 850 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 1385 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 1441 of file class.ilUtil.php.
Referenced by ilFileSystemTableGUI\fillRow(), ilMemberExportFileTableGUI\fillRow(), ILIAS\Mail\Attachments\MailAttachmentTableGUI\getRows(), ilMailAttachmentGUI\saveAttachments(), and ilMailFormGUI\showForm().
|
static |
get url of path
$relative_path | string: complete path to file, relative to web root (e.g. /public/data/pfplms103/mobs/mm_732/athena_standing.jpg) |
Definition at line 111 of file class.ilUtil.php.
Referenced by ilAuthFrontendCredentialsApache\tryAuthenticationOnLoginPage().
|
static |
get image path (for images located in a template directory)
Definition at line 68 of file class.ilUtil.php.
Referenced by ilStudyProgrammeIndividualPlanTableGUI\__construct(), ilStudyProgrammeExpandableProgressListGUI\__construct(), ilPollUserTableGUI\__construct(), ILIAS\MediaCast\Video\VideoItem\__construct(), ilRepositoryObjectPlugin\_getImagePath(), ilObjDataCollectionGUI\addHeaderAction(), ILIAS\COPage\Page\PageQueryActionHandler\allCommand(), ilExSubmissionObjectGUI\askUnlinkBlogObject(), ilExSubmissionObjectGUI\askUnlinkPortfolioObject(), ilPersonalSkillsGUI\assignMaterials(), ILIAS\Notifications\ilNotificationPushHandler\buildContent(), ilLPStatusIcons\buildImagePath(), assMatchingQuestionGUI\buildTermHtml(), ilMembershipGUI\confirmAssignFromWaitingList(), ilMembershipGUI\confirmAssignSubscribers(), ilMembershipGUI\confirmDeleteParticipants(), ilSessionMembershipGUI\confirmDeleteParticipants(), ilObjRoleGUI\confirmDeleteRoleObject(), ilObjMediaCastGUI\confirmDeletionItemsObject(), ilMembershipGUI\confirmRefuseFromList(), ilMembershipGUI\confirmRefuseSubscribers(), ilObjForumGUI\decorateWithAutosave(), ilObjSkillTreeGUI\deleteNodes(), ilPDNewsGUI\displayHeader(), ilPDNotesGUI\displayHeader(), ilPageObjectGUI\displayMedia(), ilLMPageObjectGUI\editLayout(), ilObjTypeDefinitionGUI\editObject(), ilObjSessionGUI\eventsListObject(), ilBlogPostingGUI\executeCommand(), ilPCInteractiveImageGUI\executeCommand(), ilAchievementsGUI\executeCommand(), ilLMPageObjectGUI\executeCommand(), ilPersonalNotificationsSettingsGUI\executeCommand(), ilPortfolioRepositoryGUI\executeCommand(), ilObjSAHSLearningModuleGUI\executeCommand(), ilSystemStyleHTMLExport\export(), ilTable2GUI\fillActionRow(), ilDataCollectionGlobalTemplate\fillAdminPanel(), ilLuceneSearchGUI\fillAdminPanel(), ilGlobalTemplate\fillAdminPanel(), ILIAS\components\UICore\MetaTemplate\PageContentGUI\fillAdminPanel(), ilTable2GUI\fillHeader(), ilAccessPermissionsStatusTableGUI\fillRow(), ilAvailableRolesStatusTableGUI\fillRow(), ilShibbolethRoleAssignmentTableGUI\fillRow(), ilCalendarInboxSharedTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilCalendarSharedListTableGUI\fillRow(), ilPageLayoutTableGUI\fillRow(), ilCourseObjectiveQuestionsTableGUI\fillRow(), ilTimingsManageTableGUI\fillRow(), ilTimingsPersonalTableGUI\fillRow(), ilCourseReferenceDeleteConfirmationTableGUI\fillRow(), ilFileSystemTableGUI\fillRow(), ilHistoryTableGUI\fillRow(), ilItemGroupItemsTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilClipboardTableGUI\fillRow(), ilSessionMaterialsTableGUI\fillRow(), ilSessionOverviewTableGUI\fillRow(), ilSurveyQuestionTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilLPCollectionSettingsTableGUI\fillRow(), ilLPProgressTableGUI\fillRow(), ilTrMatrixTableGUI\fillRow(), ilTrObjectUsersPropsTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilECSServerTableGUI\fillRow(), ilDataCollectionGlobalTemplate\fillSideIcons(), ilGlobalTemplate\fillSideIcons(), assQuestion\fixUnavailableSkinImageSources(), ilSCORMPresentationGUI\frameset(), assQuestionGUI\generateCorrectnessIconsForCorrectness(), ilForumThreadFormGUI\generateInputItems(), ilUserAvatarResolver\getAvatar(), ILIAS\Mail\Folder\MailFolderTableUI\getAvatar(), ilPCInteractiveImage\getBackgroundImage(), ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\getColums(), ilAssNestedOrderingElementsInputGUI\getCorrectnessIcon(), ilBadgeLearningHistoryProvider\getEntries(), ilCourseLearningHistoryProvider\getEntries(), ilFirstLoginLearningHistoryProvider\getEntries(), ilSkillLearningHistoryProvider\getEntries(), ilStudyProgrammeExpandableProgressListGUI\getExpandedImageURL(), ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\StandardPagePartProvider\getFaviconPath(), ilMainMenuSearchGUI\getHTML(), ilNewsTimelineGUI\getHTML(), ilAdvancedSelectionListGUI\getHTML(), ilDclBooleanRecordRepresentation\getHTML(), ILIAS\File\Icon\IconDatabaseRepository\getIconFilePathBySuffix(), ILIAS\Administration\AdministrationMainBarProvider\getIconForGroup(), ilObject\getIconForType(), ilSkillTreeNode\getIconPath(), ilObjSCORMInitData\getIliasScormVars(), ilSCORM13PlayerGUI\getInlineCSS(), ilCalendarSelectionBlockGUI\getLegacyContent(), ilPDMailBlockGUI\getListItemForData(), ILIAS\COPage\PC\InteractiveImage\InteractiveImageQueryActionHandler\getLoader(), ILIAS\GlobalScreen\Scope\Layout\Provider\PagePart\StandardPagePartProvider\getLogo(), ilLMHtmlExportViewLayoutProvider\getMainBarModification(), ILIAS\Test\Results\Presentation\AttemptResultsTable\getMapping(), ILIAS\User\Presentation\UserMetaBarProvider\getMetaBarItems(), ilLMEditorExplorerGUI\getNodeIcon(), ilLMTOCExplorerGUI\getNodeIcon(), ilMailExplorer\getNodeIcon(), ilMediaPoolExplorerGUI\getNodeIcon(), ilWorkspaceExplorerGUI\getNodeIcon(), ilPersonalSkillExplorerGUI\getNodeIcon(), ilSkillTemplateTreeExplorerGUI\getNodeIcon(), ilSkillTreeExplorerGUI\getNodeIcon(), ilVirtualSkillTreeExplorerGUI\getNodeIcon(), ilTaxonomyExplorerGUI\getNodeIcon(), ilPRGActionNoteBuilder\getNoteFor(), ilStudyProgrammeExpandableProgressListGUI\getNotExpandedImageURL(), ilExplorer\getOutput(), ilSCORMExplorer\getOutputIcons(), ILIAS\Portfolio\PortfolioPrintViewProviderGUI\getPages(), ilPortfolioRepositoryGUI\getPortfolioList(), ilTestQuestionHeaderBlockBuilder\getQuestionInfoHTML(), ilTestQuestionNavigationGUI\getQuestionMarkIconSource(), ilDidacticTemplateSettingsTableDataRetrieval\getRecords(), 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(), ILIAS\components\Authentication\Pages\AuthPageLanguagesOverviewTable\getStatusIcon(), ilPRGStatusInfoBuilder\getStatusInfoFor(), ilObjGlossaryGUI\getTemplate(), ilCOPageEditGSToolProvider\getToolsForContextStack(), ilLMEditGSToolProvider\getToolsForContextStack(), ilMediaPoolGSToolProvider\getToolsForContextStack(), ilSkillGSToolProvider\getToolsForContextStack(), ilTaxonomyGSToolProvider\getToolsForContextStack(), ILIAS\COPage\Page\PageQueryActionHandler\getTopActions(), ilLMPresentationGUI\ilMedia(), ilLMPageObjectGUI\initEditLayoutForm(), ilObjGroupGUI\initForm(), ilObjLTIConsumerGUI\initHeaderAction(), ilObjBookingPoolGUI\initHeaderAction(), ilObjCmiXapiGUI\initHeaderAction(), ilObjCourseGUI\initHeaderAction(), ilObjForumGUI\initHeaderAction(), ilObjGroupGUI\initHeaderAction(), ilObjStudyProgrammeGUI\initHeaderAction(), ILIAS\Chatroom\BuildChat\initialData(), ilOnScreenChatGUI\initializeFrontend(), ilAwarenessGUI\initJS(), ilObjLTIConsumerListGUI\insertIconsAndCheckboxes(), ilObjectListGUI\insertInfoScreenCommand(), ilObjOrgUnitListGUI\insertInfoScreenCommand(), ilPCResourcesGUI\insertResourcesIntoPageContent(), ilUserCertificateGUI\listCertificates(), ilPersonalSkillsGUI\listProfileForGap(), ilGlossaryTermGUI\listUsages(), ilMStListCertificatesGUI\listUsers(), ilMStListCompetencesSkillsGUI\listUsers(), ilMStListCoursesGUI\listUsers(), ilMStListUsersGUI\listUsers(), ilEmployeeTalkMyStaffListGUI\loadHeader(), ilGlossaryPresentationGUI\media(), assMatchingQuestionGUI\populateDefinition(), ilDashboardGUI\prepareContentView(), ilCalendarPresentationGUI\prepareOutput(), ilGlossaryPresentationGUI\prepareOutput(), ilTable2GUI\render(), ilTableGUI\render(), ilProgressBar\render(), ilLMNavigationRendererGUI\render(), ilCalendarSelectionBlockGUI\renderItem(), ILIAS\Chatroom\BuildChat\renderLanguageVariables(), ilObjLearningSequenceContentGUI\renderTable(), ilPersonalSkillsGUI\saveSelfEvaluation(), ilPersonalSkillsGUI\selfEvaluation(), ilBadgeHandler\sendNotification(), ilLMPresentationGUI\setHeader(), ilImageLinkButton\setImage(), ilSAHSPresentationGUI\setInfoTabs(), ilObjTaxonomyGUI\setTabs(), ilStructureObjectGUI\setTabs(), ilObjMediaObjectGUI\setTabs(), ilObjSAHSLearningModuleGUI\setTabs(), ilPageLayoutGUI\setTabs(), ilObjLanguageExtGUI\setTitleAndDescription(), ilObjPortfolioGUI\setTitleAndDescription(), ilObjUserGUI\setTitleAndDescription(), ilObjWorkspaceRootFolderGUI\setTitleAndDescription(), ilDashboardGUI\show(), ilMembershipOverviewGUI\show(), ilDerivedTasksGUI\show(), ilLMObjectGUI\showActions(), ilObjContentObjectGUI\showActions(), ilContentStyleSettingsGUI\showActions(), ilContainerGUI\showAdministrationPanel(), ilObjWorkspaceFolderGUI\showAdministrationPanel(), ilPasswordAssistanceGUI\showAssistanceForm(), ilLTIConsumerContentGUI\showEmbedded(), ilMailGUI\showHeader(), ilInternalLinkGUI\showLinkHelp(), ilObjMediaPoolGUI\showMedia(), ilPasswordAssistanceGUI\showMessageForm(), ilPageObjectGUI\showPage(), ilContainerGUI\showPasteTreeObject(), ilLMPresentationGUI\showPrintView(), ilLMPresentationGUI\showPrintViewSelection(), ilMailSearchGUI\showResults(), ilLocalUserGUI\showRolesTable(), ilAssQuestionSkillAssignmentsGUI\showSkillSelectionCmd(), ilCourseContentGUI\showStartObjects(), ilContactGUI\showSubTabs(), ilObjectCopyGUI\showTargetSelectionTree(), ilMailFolderGUI\showUser(), ilPasswordAssistanceGUI\showUsernameAssistanceForm(), ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\taxonomyRepresentation(), and ILIAS\LearningModule\Editing\SubObjectTableBuilder\transformRow().
|
static |
Builds an html image tag.
Definition at line 45 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 182 of file class.ilUtil.php.
References ilStyleDefinition\getCurrentSkin(), and ilStyleDefinition\getCurrentStyle().
Referenced by ilTinyMCE\addCustomRTESupport(), ilTinyMCE\addUserTextEditor(), ilDataCollectionGlobalTemplate\fillNewContentStyle(), ilGlobalTemplate\fillNewContentStyle(), and ilGlobalPageTemplate\prepareBasicCSS().
|
static |
Definition at line 480 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 133 of file class.ilUtil.php.
References ilStyleDefinition\getCurrentStyle().
Referenced by ilTinyMCE\addUserTextEditor(), ilSCORMPresentationGUI\contentSelect(), ilObjTest\deliverPDFfromHTML(), ilPageObjectGUI\displayMedia(), ilObjSurveyQuestionPoolGUI\executeCommand(), ilSCORMPresentationGUI\explorer(), ilSystemStyleHTMLExport\export(), ILIAS\COPage\Page\PageQueryActionHandler\getConfig(), ILIAS\Notes\Export\NotesHtmlExport\getInitialisedTemplate(), ilExplorer\getOutput(), ilSCORM13PlayerGUI\getPlayer(), ilPlugin\getStyleSheetLocation(), ILIAS\Glossary\Export\GlossaryHtmlExport\initScreen(), ilGlossaryPresentationGUI\media(), ilTestPlayerAbstractGUI\outCorrectSolution(), ilTestServiceGUI\outCorrectSolution(), ilLMPresentationGUI\page(), ilGlobalPageTemplate\prepareBasicCSS(), ILIAS\Test\Questions\Presentation\Printer\printAnswers(), ilForumExportGUI\printPost(), ilForumExportGUI\printThread(), ILIAS\Export\PrintProcessGUI\renderPrintView(), ilTestEvaluationGUI\setCss(), ilLMPresentationGUI\setSystemStyle(), ilInternalLinkGUI\showLinkHelp(), ilContainerGUI\showLinkListObject(), ilTestPlayerAbstractGUI\showListOfAnswers(), ilObjMediaPoolGUI\showMedia(), ilPageObjectGUI\showMediaFullscreen(), ilObjMediaPoolGUI\showPage(), ilSCORM13PlayerGUI\specialPage(), ilSAHSPresentationGUI\view(), and ilSCORMPresentationGUI\view().
|
static |
Get HTML for a system message.
Definition at line 1253 of file class.ilUtil.php.
References $DIC.
Referenced by ilGroupAddToGroupActionGUI\addUser(), ilTestPasswordProtectionGUI\buildPasswordMsg(), ilGroupAddToGroupActionGUI\confirmAddUser(), ilGroupAddToGroupActionGUI\confirmCreateGroupAndAddUser(), ilGroupAddToGroupActionGUI\createGroup(), ilGroupAddToGroupActionGUI\createGroupAndAddUser(), ilDataCollectionGlobalTemplate\fillMessage(), ilGlobalTemplate\fillMessage(), ilClassificationBlockGUI\filterContainer(), ilCalendarAgendaListGUI\getHTML(), ilTaggingGUI\getHTML(), ilInternalLinkGUI\getUserSearchResult(), 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
@access public
string | groupname |
integer | obj_id of group to exclude from the check. |
Definition at line 981 of file class.ilUtil.php.
References $DIC, $ilDB, $ilErr, $message, and $q.
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 594 of file class.ilUtil.php.
References makeClickable().
|
static |
Build img tag.
Definition at line 325 of file class.ilUtil.php.
Referenced by ilTable2GUI\fillHeader(), ilItemGroupItemsTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilLMPagesTableGUI\fillRow(), ilMediaPoolTableGUI\fillRow(), ilAdminSubItemsTableGUI\fillRow(), ilSearchResultTableGUI\fillRow(), ilObjClipboardTableGUI\fillRow(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getHomeItem(), ilMainMenuSearchGUI\getHTML(), ilNoteGUI\getOriginHeader(), ilLMPageObjectGUI\initEditLayoutForm(), ilOnScreenChatGUI\initializeFrontend(), ilPCResourcesGUI\insertResourcesIntoPageContent(), ilSCORM2004TrackingItemsTableGUI\parseValue(), ilSCORMTrackingItemsTableGUI\parseValue(), ilNestedListInputGUI\render(), and ilExplorerBaseGUI\renderNode().
|
static |
inserts installation id into ILIAS id
e.g. "il__pg_3" -> "il_43_pg_3"
Definition at line 961 of file class.ilUtil.php.
References IL_INST_ID.
Referenced by ilObjTest\modifyExportIdentifier(), ilObjQuestionPool\modifyExportIdentifier(), and ilObjMediaObject\modifyExportIdentifier().
|
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 279 of file class.ilUtil.php.
Referenced by ilEMailInputGUI\checkInput(), ilPasswordAssistanceGUI\emailTrafo(), ilCmiXapiUser\getIdent(), ilSurveyExecutionGUI\mailUserResults(), ilObjSurveyGUI\mailUserResultsObject(), 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 1165 of file class.ilUtil.php.
Referenced by assQuestionExport\addQTIMaterial(), assTextQuestion\getSolutionSubmit(), ilAssSelfAssessmentQuestionFormatter\handleLineBreaks(), ilLegacyFormElementsUtil\prepareTextareaOutput(), and assMatchingQuestionExport\toXML().
|
static |
Definition at line 299 of file class.ilUtil.php.
Referenced by ilUserLoginInputGUI\checkInput(), ilAuthProviderApache\doAuthentication(), ilAccountRegistrationGUI\saveForm(), and ILIAS\User\Profile\PersonalProfileGUI\updateLoginOrSetErrorMessages().
|
static |
Definition at line 1012 of file class.ilUtil.php.
Referenced by ilGitInformation\detect(), ilImagemapPreview\execQuoted(), and ilShellUtil\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 220 of file class.ilUtil.php.
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(), and ilUtilTest\testMakeClickableWithoutGotoLinks().
|
staticprivate |
Definition at line 649 of file class.ilUtil.php.
References $DIC.
Referenced by maskSecureTags().
|
staticprivate |
Definition at line 504 of file class.ilUtil.php.
References maskAttributeTag(), and maskTag().
Referenced by secureString().
|
static |
Definition at line 714 of file class.ilUtil.php.
Referenced by maskSecureTags().
|
static |
Return current timestamp in Y-m-d H:i:s format.
Definition at line 1022 of file class.ilUtil.php.
Referenced by ilHistory\_copyEntriesForObject(), ilObjSCORMTracking\_insertTrackData(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\addFulfilmentEntry(), ilSkillLevelDBRepository\addLevel(), ILIAS\Skill\Profile\SkillProfileCompletionDBRepository\addNonFulfilmentEntry(), ilRepositoryObjectPlugin\beforeActivation(), ilNewsItem\create(), ilPageObject\createFromXML(), ILIAS\Notes\NotesManager\createNote(), ILIAS\Test\Setup\CloneIntroductionAndClosingRemarksMigration\createPageWithNextId(), ilAuthProviderLTI\createUser(), ilCalendarHeaderNavigationGUI\getHTML(), ilNewsItem\getLastNewsIdForContext(), ilLMNavigationStatus\getPredecessorPageId(), ilWikiUserHTMLExport\getProcess(), ilLMNavigationStatus\getSuccessorPageId(), ilSkillUserLevelDBRepository\hasRecentSelfEvaluation(), ilLMContentRendererGUI\renderDeactivatedPageMessage(), ilObjForum\saveData(), ilExAssignmentMemberStatus\setFeedback(), ilExAssignmentMemberStatus\setMark(), ilExAssignmentMemberStatus\setSent(), ilExAssignmentMemberStatus\setStatus(), ilObjSCORMTracking\storeJsApiCmi(), ilBlogPosting\unpublish(), ilNewsItem\update(), ilPageObject\update(), ilPageObject\updateFromXML(), ilExSubmission\updateTextSubmission(), ilExSubmission\updateTutorDownloadTime(), and ILIAS\Exercise\Submission\SubmissionRepository\updateWebDirAccessTime().
|
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 1357 of file class.ilUtil.php.
References ILIAS\Repository\int().
Referenced by ilECSEnrolmentStatusCommandQueueHandler\handleCreate(), ilAdvancedMDRecordParser\handlerBeginTag(), ilQuestionPageParser\handlerEndTag(), and ilAdvancedMDFieldDefinitionInternalLink\importValueFromXML().
|
static |
Definition at line 944 of file class.ilUtil.php.
Referenced by ilLearningProgressGUI\__getNextClass(), ilObjCourseGUI\_goto(), ilObjSystemFolderGUI\_goto(), ilObjItemGroupGUI\_goto(), ilObjPollGUI\_goto(), ilObjLinkResourceGUI\_goto(), ilObjGroupGUI\_goto(), ilObjLearningSequence\_goto(), ilCourseRegistrationGUI\add(), ilGroupRegistrationGUI\add(), ilObjCourseGUI\afterSave(), ilObjLearningSequenceGUI\afterSave(), ilObjMediaCastGUI\afterSave(), ilObjMediaPoolGUI\afterSave(), ilObjOrgUnitGUI\afterSave(), ilObjSurveyGUI\afterSave(), ilObjSurveyQuestionPoolGUI\afterSave(), ilObjQuestionPoolGUI\afterSave(), ilObjLinkResourceGUI\afterSave(), ilTestPlayerAbstractGUI\afterTestPassFinishedCmd(), ilSurveyExecutionGUI\backToRepository(), ilObjTestGUI\backToRepositoryObject(), ilLMPageObjectGUI\cancel(), SurveyQuestionGUI\cancel(), ilMailFormGUI\cancelMail(), ilSharedResourceGUI\cancelPassword(), ilContainerStartObjectsGUI\checkPermission(), ilInternalLinkGUI\closeLinkHelp(), ilObjectCopyGUI\copyMultipleNonContainer(), ilImageMapEditorGUI\editImagemapForward(), ilErrorHandling\errorHandler(), ilCalendarPresentationGUI\executeCommand(), ilDashboardGUI\executeCommand(), ilObjMediaPoolGUI\executeCommand(), ilSAHSEditGUI\executeCommand(), ILIAS\User\Profile\PublicProfileGUI\getHTML(), ilObjItemGroupGUI\gotoParent(), ilObjWikiGUI\gotoStartPageObject(), ilMembershipRegistrationCodeUtils\handleCode(), ilObjSurveyQuestionPoolGUI\importFile(), ilObjSurveyGUI\importSurveyObject(), ilEditClipboardGUI\insert(), ilMailingListsGUI\mailToList(), ilObjRoleGUI\mailToRoleObject(), ilObjSCORMLearningModuleGUI\newModuleVersionUpload(), ilExerciseManagementGUI\openSubmissionViewObject(), ilObjLearningSequenceLearnerGUI\play(), ilShibbolethWAYF\redirect(), SurveyQuestionGUI\redirectAfterSaving(), ilExerciseManagementGUI\redirectFeedbackMailObject(), ilObjCourseGUI\redirectLocToTestConfirmedObject(), ilObjCourseGUI\redirectLocToTestObject(), ilBookingReservationsGUI\redirectMailToBooker(), ilPortfolioRepositoryGUI\redirectSendMailToSharer(), ilObjLinkResourceGUI\redirectToLink(), ilContentStyleSettingsGUI\saveActiveStyles(), ilMailFormGUI\saveDraft(), ILIAS\User\Profile\PersonalProfileGUI\savePublicProfile(), ilContentStyleSettingsGUI\saveScope(), ilObjContentObjectGUI\sendMailToBlockedUsers(), ilMembershipGUI\sendMailToSelectedUsers(), ilObjAuthSettingsGUI\setAuthModeObject(), ilTestPlayerAbstractGUI\submitSolutionCmd(), ilObjPollGUI\subscribe(), ilContentStyleSettingsGUI\toggleGlobalDefault(), ilContentStyleSettingsGUI\toggleGlobalFixed(), ilObjPortfolioGUI\toRepository(), ilObjPollGUI\unsubscribe(), ilObjSAHSLearningModuleGUI\uploadObject(), and ilObjPollGUI\vote().
|
staticprivate |
Definition at line 252 of file class.ilUtil.php.
References $DIC, $ref_id, and ILIAS\Repository\int().
|
static |
Definition at line 760 of file class.ilUtil.php.
Referenced by ilObjMediaObjectGUI\savePropertiesObject(), and unmaskAttributeTag().
|
static |
Definition at line 569 of file class.ilUtil.php.
Referenced by ilMailFormGUI\editAttachments(), ilMailFormGUI\saveDraft(), ilMailFormGUI\saveMailBeforeSearch(), ilMailFormGUI\search(), ilMailFormGUI\searchUsers(), ilMailFormGUI\sendMessage(), and ilMailFormGUI\showForm().
|
static |
Definition at line 421 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 830 of file class.ilUtil.php.
References $url.
Referenced by ilGroupedListGUI\getHTML(), and ilObjMediaObject\getXML().
|
static |
Definition at line 1281 of file class.ilUtil.php.
Referenced by ilInitialisation\determineClient(), ilSoapAdministration\initAuth(), ilLTIViewGUI\logout(), ilSessionControl\removeSessionCookie(), and ilInitialisation\setClientIdCookie().
|
static |
Definition at line 409 of file class.ilUtil.php.
Referenced by assQuestionGUI\writeQuestionGenericPostData().
|
static |
Definition at line 782 of file class.ilUtil.php.
Referenced by ilDataCollectionGlobalTemplate\fillHeader(), ilGlobalTemplate\fillHeader(), ILIAS\components\UICore\MetaTemplate\PageContentGUI\fillHeader(), ilDataCollectionGlobalTemplate\fillWindowTitle(), ilGlobalTemplate\fillWindowTitle(), and secureString().
|
static |
Definition at line 397 of file class.ilUtil.php.
References secureString().
Referenced by ilTaxonomyExplorerGUI\__construct(), ilObjTaggingSettingsGUI\__construct(), ilSearchGUI\__construct(), ilLDAPSettingsGUI\__construct(), ilSearchGUI\__parseQueryString(), ilUserSearchFilter\__parseQueryString(), ilRepositorySearchGUI\__parseQueryString(), ilFileUtils\_sanitizeFilemame(), ilObjContentObjectGUI\addTooltip(), ILIAS\Container\Content\Filter\FilterManager\apply(), ilCmiXapiStatementsGUI\asyncUserAutocompleteCmd(), ilLTIConsumerXapiStatementsGUI\asyncUserAutocompleteCmd(), ilObjForumGUI\autosaveDraftAsyncObject(), ilObjForumGUI\autosaveThreadDraftAsyncObject(), ilRepositoryTrashGUI\buildPath(), ilDashboardBlockGUI\changePDItemPresentationObject(), ilDashboardBlockGUI\changePDItemSortingObject(), ilFileInputGUI\checkInput(), ilClozeGapInputBuilderGUI\checkInput(), ilObjSurvey\cloneTextblocks(), ilMailAttachmentGUI\confirmDeleteAttachments(), ilFileSystemGUI\createDirectory(), ilObjFileBasedLMGUI\createFromDirectory(), ilObjForumGUI\decorateWithAutosave(), ilExAssignmentEditorGUI\deleteAssignmentsObject(), ilFileSystemGUI\deleteFile(), ilPCInteractiveImage\deleteOverlay(), ilObjSurveyGUI\doAutoCompleteObject(), ilObjContentObjectGUI\doExportHTML(), ilObjContentObjectGUI\doExportXML(), ilStartUpGUI\doSamlAuthentication(), ilSCORM13PlayerGUI\downloadLog(), ilObjLanguageExtGUI\downloadObject(), ilCronManagerGUI\executeCommand(), ilMailGUI\executeCommand(), assQuestionGUI\executeCommand(), ilObjContentObjectGUI\export(), ilObjMediaPoolGUI\export(), ilObjContentObjectGUI\exportHTML(), ilFileSystemGUI\extCommand(), ilMailSearchObjectMembershipsTableGUI\fillRow(), ilExportIDTableGUI\fillRow(), ilPDNewsTableGUI\fillRow(), ilObjTestGUI\forwardCommandToQuestion(), ilMailTemplateGUI\getAjaxPlaceholdersByIdCommand(), ilPCDataTableGUI\getCellContent(), ilObjUser\getFullname(), ilSamlSettingsGUI\getIdpForm(), ilFormulaInputGUI\getInput(), ilTextAreaInputGUI\getInput(), ilAssignedUsersTableGUI\getItems(), ilLMQuestionListTableGUI\getItems(), ilSCORM2004TrackingItemsTableGUI\getItems(), ilSCORMTrackingItemsTableGUI\getItems(), ilTrObjectUsersPropsTableGUI\getItems(), ilTrUserObjectsPropsTableGUI\getItems(), ilUserLPTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilExplorerBaseGUI\getNodeAsync(), assAnswerCloze\getNumericValueFromText(), ilObjForumGUI\getOrderByParam(), ilSCORMPackageParser\getPackageTitle(), assTextQuestion\getSolutionSubmit(), ilTaggingGUI\getTagsFromInput(), ilUserTableGUI\getUserIdsForFilter(), ilChatroomInviteUsersToPrivateRoomGUI\getUserList(), ilObjSessionGUI\handleFileUpload(), ilObjForumGUI\handleFormInput(), ilSCORMPackageParser\handlerCharacterData(), ilChatroomXMLParser\handlerEndTag(), ilForumXMLParser\handlerEndTag(), ilSCORM13Package\il_import(), ilContentPageDataSet\importRecord(), ilPresentationFullGUI\initFilter(), ilPresentationTableGUI\initFilter(), ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\insertParagraph(), ilECSUser\loadFromGET(), ilECSSettingsGUI\loadFromPost(), ilLDAPRoleGroupMappingSettings\loadFromPost(), ilObjEmployeeTalkSeriesGUI\loadRecurrenceSettings(), ilObjSessionGUI\loadRecurrenceSettings(), ilEmployeeTalkAppointmentGUI\loadRecurrenceSettings(), ilLDAPSettingsGUI\loadRoleAssignmentRule(), ilMailSearchGUI\lookupRecipientAsync(), ilMailFormGUI\lookupRecipientAsync(), ilObjLanguageExtGUI\maintainExecuteObject(), ilMediaPoolExportOptionXMLMaster\onExportOptionSelected(), ilMediaPoolExportOptionXMLMasterNoMedia\onExportOptionSelected(), ILIAS\Survey\CSVReader\open(), ilSCORM13PlayerGUI\openLog(), assQuestionGUI\outChapterSelector(), assQuestionGUI\outPageSelector(), ilTrashTableGUI\parse(), ilSCORMTrackingUsersTableGUI\parse(), ilFileSystemGUI\parseCurrentDirectory(), ilObjStudyProgrammeAutoMembershipsGUI\parseQueryString(), ilRepositorySearchGUI\performSearch(), ilLegacyFormElementsUtil\prepareFormOutput(), ilAnswerWizardInputGUI\prepareFormOutput(), ilLMPageGUI\processAnswer(), ilICalParser\purgeString(), ilMailBodyPurifier\purify(), ilLuceneSearchGUI\remoteSearch(), ilFileSystemGUI\renameFile(), ilObjForumGUI\renderPostingForm(), ilEMailInputGUI\sanitize(), ilFileSystemGUI\sanitizeCurrentDirectory(), ilQtiMatImageSecurity\sanitizeLabel(), ilChatroomFormFactory\saniziteArrayElementsTrafo(), ilLMEditShortTitlesGUI\save(), ilLMPageObjectGUI\save(), ilObjSkillTreeGUI\saveAllTemplateTitles(), ilObjSkillTreeGUI\saveAllTitles(), ilObjAuthSettingsGUI\saveApacheSettingsObject(), ilExerciseSubmissionFeedbackGUI\saveCommentForLearners(), ilExerciseManagementGUI\saveEvaluationFromModalObject(), ilObjContentObjectGUI\saveExportIds(), ilObjWikiGUI\saveGradingObject(), ilObjSystemFolderGUI\saveHeaderTitlesObject(), ilSurveyEditorGUI\saveHeadingObject(), ilObjSystemFolderGUI\saveJavaServerObject(), ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\saveManScoringByQuestion(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\saveManScoringParticipantScreen(), ilObjLanguageExtGUI\saveObject(), ilObjPortfolioBaseGUI\savePortfolioPagesOrdering(), ilObjTaxonomyGUI\saveSorting(), ilPortfolioRepositoryGUI\saveTitles(), ilLegalDocumentsAdministrationGUI\searchUser(), ilPCTableGUI\setAlignment(), ilContentPagePageCommandForwarder\setBackLinkTab(), ilForumPageCommandForwarder\setBackLinkTab(), ilLDAPRoleGroupMappingSetting\setRoleByName(), ilPCTableGUI\setStyles(), ilPCInteractiveImage\setTriggerProperties(), ilPCTableGUI\setWidths(), ilCalendarCategoryGUI\sharePerformSearch(), ilStartUpGUI\showSamlLoginForm(), ilObjSCORM2004LearningModuleGUI\showTrackingItems(), ilObjSCORMLearningModuleGUI\showTrackingItems(), ilObjSCORM2004LearningModuleGUI\showTrackingItemsBySco(), ilObjSCORMLearningModuleGUI\showTrackingItemsBySco(), ilObjForumGUI\showUserObject(), ilBadgeGUIRequest\strArray(), ILIAS\User\UserGUIRequest\strArray(), ILIAS\Repository\HTML\HTMLUtil\strip(), ILIAS\Repository\strip(), ilCertificateUtilHelper\stripSlashes(), ilFormPropertyGUI\stripSlashesAddSpaceFallback(), SurveyQuestion\stripSlashesAddSpaceFallback(), ilArrayUtil\stripSlashesArray(), ilClozeGapInputBuilderGUI\stripSlashesRecursive(), ilArrayUtil\stripSlashesRecursive(), assLongMenuGUI\stripSlashesRecursive(), ilDataSet\stripTags(), ilBuddySystemGUI\transitionAsyncCommand(), ilContainerBaseXmlParser\trimAndStrip(), ilCourseXMLParser\trimAndStrip(), ilExerciseXMLParser\trimAndStrip(), ilGroupXMLParser\trimAndStrip(), ilStyleImportParser\trimAndStrip(), SurveyImportParser\trimAndStrip(), ilWebLinkXmlParser\trimAndStrip(), ILIAS\COPage\Page\PageCommandActionHandler\updateCommand(), ilPCDataTableGUI\updateJS(), ilObjLinkResourceGUI\updateLinks(), ilExerciseXMLParser\updateMarking(), ilSessionMembershipGUI\updateMembers(), ILIAS\COPage\PC\Paragraph\ParagraphCommandActionHandler\updateParagraph(), ilAdvancedMDSettingsGUI\updateRecords(), ilRegistrationGUI\updateSubscriptionRequest(), ilFileSystemGUI\uploadFile(), ilObjLanguageExtGUI\uploadObject(), ilObjForumGUI\viewThreadObject(), and assMatchingQuestionGUI\writeAnswerSpecificPostData().
|
static |
switches style sheets for each even $a_num (used for changing colors of different result rows)
Definition at line 207 of file class.ilUtil.php.
Referenced by ilForumExportGUI\renderPostHtml().
|
static |
Definition at line 915 of file class.ilUtil.php.
Referenced by ilObjRoleGUI\permSaveObject(), ilObjSAHSLearningModule\setAutoReview(), ilObjGlossary\update(), ilObjSAHSLearningModule\update(), and ilObjContentObject\updateProperties().
|
staticprivate |
Definition at line 685 of file class.ilUtil.php.
References $DIC, and secureLink().
Referenced by unmaskSecureTags().
|
staticprivate |
Definition at line 535 of file class.ilUtil.php.
References unmaskAttributeTag(), and unmaskTag().
Referenced by secureString().
|
staticprivate |
Definition at line 740 of file class.ilUtil.php.
Referenced by unmaskSecureTags().
|
static |
Definition at line 903 of file class.ilUtil.php.
Referenced by ilSCORM2004Tracking\_syncReadEvent(), ilChatUserActionProvider\acceptsMessages(), ilChatroomUser\enabledBroadcastTyping(), ilMailSearchObjectMembershipsTableGUI\fillRow(), ilLMMenuItemsTableGUI\fillRow(), ilObjSAHSLearningModule\getAutoReview(), ilBuddySystemLinkButton\getHtml(), ILIAS\OnScreenChat\Provider\OnScreenChatProvider\getSlateMessageBox(), ilLearningModuleDataSet\importRecord(), ilOnScreenChatGUI\initializeFrontend(), ilObjGlossary\read(), ilObjSAHSLearningModule\read(), ilObjContentObject\readProperties(), ilBuddySystemGUI\requestCommand(), ilObjSCORMLearningModuleGUI\saveProperties(), ilBuddySystemGUI\transitionAsyncCommand(), and ilContactGUI\updateRelationState().