ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Go to the source code of this file.
Data Structures | |
class | ilIniFile |
INIFile Parser. More... | |
Functions | |
show () | |
returns the content of IniFile @access public More... | |
getGroupCount () | |
returns number of groups @access public More... | |
readGroups () | |
returns an array with the names of all the groups @access public More... | |
groupExists ($a_group_name) | |
checks if a group exists @access public More... | |
readGroup ($a_group_name) | |
returns an associative array of the variables in one group @access public More... | |
addGroup ($a_group_name) | |
adds a new group @access public More... | |
removeGroup ($a_group_name) | |
removes a group @access public More... | |
variableExists ($a_group, $a_var_name) | |
returns if a variable exists or not @access public More... | |
readVariable ($a_group, $a_var_name) | |
reads a single variable from a group @access public More... | |
setVariable ($a_group_name, $a_var_name, $a_var_value) | |
sets a variable in a group @access public More... | |
error ($a_errmsg) | |
set error message @access public More... | |
getError () | |
returns error @access public More... | |
addGroup | ( | $a_group_name | ) |
adds a new group @access public
string | group name |
Definition at line 313 of file class.ilIniFile.php.
References error(), and groupExists().
error | ( | $a_errmsg | ) |
set error message @access public
string |
Definition at line 395 of file class.ilIniFile.php.
Referenced by ilFileDataForum\__checkReadWrite(), ilFileDataForumDrafts\__checkReadWrite(), ilBookmark\__construct(), ilBookmarkFolder\__construct(), ilAdministrationCommandGUI\__construct(), ilObjSystemFolderGUI\__construct(), ilObjObjectFolderGUI\__construct(), ilObjTypeDefinitionGUI\__construct(), ilObjMediaCastGUI\__construct(), ilObjSCORM2004LearningModuleGUI\__construct(), ilObjWikiGUI\__construct(), ilObjCategoryGUI\__construct(), ilObjForumGUI\__construct(), ilObjLearningResourcesSettingsGUI\__construct(), ilObjMediaCastSettingsGUI\__construct(), ilObjAccessibilitySettingsGUI\__construct(), ilContainerGUI\__construct(), ilContainerReferenceGUI\__construct(), ilObjMediaObjectsSettingsGUI\__construct(), ilObjNewsSettingsGUI\__construct(), ilObjPersonalDesktopSettingsGUI\__construct(), ilObjRepositorySettingsGUI\__construct(), ilObjSkillManagementGUI\__construct(), ilObjTaggingSettingsGUI\__construct(), ilObjMediaObjectGUI\__construct(), ilObjFolderGUI\__construct(), ilObjContentObjectGUI\__construct(), ilObjGlossaryGUI\__construct(), ilObjFileBasedLMGUI\__construct(), ilObjCertificateSettingsGUI\__construct(), ilObjGlossary\__construct(), ilObjContentObject\__construct(), ilObjSCORM2004LearningModule\__construct(), ilObjItemGroupGUI\__construct(), ilObjMediaPoolGUI\__construct(), ilObjWikiSettingsGUI\__construct(), ilObjHelpSettingsGUI\__construct(), ilContainer\__construct(), ilObject\__construct(), ilIniFile\__construct(), ilFileDataForum\__construct(), ilObjectCopyGUI\__construct(), ilPageContentGUI\__construct(), ilObjectActivationGUI\__construct(), ilSCORM2004ScoGUI\__construct(), ilExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilCategoryXmlParser\__construct(), ilContainerReferenceXmlParser\__construct(), Slim\Http\UploadedFile\__construct(), ilFolderXmlParser\__construct(), ilFileDataForumDrafts\__construct(), php4DOMDocument\__construct(), ilMailSearchCoursesGUI\__construct(), ilMailSearchGroupsGUI\__construct(), ilStructureObjectGUI\__construct(), ilForum\__construct(), ilForumExportGUI\__construct(), ilForumModeratorsGUI\__construct(), ilGlossaryEditorGUI\__construct(), ilGlossaryPresentationGUI\__construct(), ilHTLMEditorGUI\__construct(), ilHTLMPresentationGUI\__construct(), ilLMEditorGUI\__construct(), ilLMPresentationGUI\__construct(), ilObjSurveyQuestionPoolGUI\__construct(), ilAdministrationGUI\__construct(), ilBookmarkAdministrationGUI\__construct(), ilEditClipboardGUI\__construct(), ilContactGUI\__construct(), ilMailingListsGUI\__construct(), ilObjectActivation\__construct(), ilPersonalDesktopGUI\__construct(), ilRepositoryGUI\__construct(), ilMailTemplateGUI\__construct(), ILIAS\Validation\Constraints\Custom\__construct(), Mail_RFC822\_hasUnclosedBrackets(), Mail_RFC822\_splitAddresses(), Mail_RFC822\_splitCheck(), Mail_RFC822\_validateAddress(), addGroup(), ilObjForumGUI\addThreadObject(), ilContactGUI\applyContactsTableFilter(), ilDBUpdate\applyCustomUpdates(), ilDBUpdate\applyHotfix(), ilDBUpdate\applyUpdate(), ilDBUpdate\applyUpdateNr(), ilObjForumGUI\askForPostActivationObject(), SMTP\authenticate(), ilContactGUI\changeContactsView(), ilSetup\checkDataDirSetup(), ilObjForumGUI\checkDraftAccess(), ilSetup\checkErrorLogSetup(), ilSetup\checkLogSetup(), ilSetup\checkPasswordSetup(), ilSetup\checkToolsSetup(), ilSetup\cloneFromSource(), ilMailTemplateGUI\confirmDeleteTemplate(), ilObjForumGUI\confirmDeleteThreads(), ilObjForumGUI\confirmMergeThreadsObject(), ilObjTermsOfServiceGUI\confirmReset(), SMTP\connect(), ilClient\connect(), ilClient\create(), ilSetup\createDatabase(), ilObjForumGUI\createThreadObject(), ilObjForumGUI\deleteSelectedDraft(), ilMailTemplateGUI\deleteTemplate(), ilObjForumGUI\deliverZipFileObject(), ilObjForumGUI\editThreadDraftObject(), ilObjForumGUI\editThreadObject(), ilForumExportGUI\ensureThreadBelongsToForum(), ilObjForumGUI\ensureThreadBelongsToForum(), ilDBUpdate\execQuery(), ilObjBibliographicAdminLibrariesGUI\executeCommand(), ilObjForumGUI\executeCommand(), ilObjCertificateSettingsGUI\executeCommand(), ilContactGUI\executeCommand(), ilMailingListsGUI\executeCommand(), ilMailSearchCoursesGUI\executeCommand(), ilMailSearchGroupsGUI\executeCommand(), ilForumExportGUI\exportHTML(), SimpleSAML\Logger\flush(), ilObjForumGUI\getContent(), ilClient\getError(), ilSetup\getError(), ILIAS\Validation\Constraints\Custom\getErrorMessage(), SimpleSAML\Metadata\Sources\MDQ\getParsedSet(), ilObjForumGUI\infoScreen(), ilClient\init(), ilSetup\init(), ilMailTemplateGUI\insertTemplate(), CAS_Client\isAuthenticated(), GuzzleHttp\Psr7\UploadedFile\isOk(), ilSetup\loginAsClient(), ilContactGUI\mailToUsers(), ilObjForumGUI\markAllReadObject(), ilObjForumGUI\markPostReadObject(), ilObjForumGUI\markPostUnreadObject(), ilObjForumGUI\mergeThreadsObject(), ilObjForumGUI\moveThreadsObject(), ilSetup\newClient(), ilIniFile\parse(), Mail_RFC822\parseAddressList(), ilMailingListsGUI\performDeleteMembers(), ilObjForumGUI\performDeleteThreadsObject(), ilObjForumGUI\performMergeThreadsObject(), ilObjForumGUI\performMoveThreadsObject(), ilObjForumGUI\performPostActivationObject(), ilObjForumGUI\performThreadsActionObject(), ilForumExportGUI\printPost(), ilForumExportGUI\printThread(), ilObjForumGUI\publishDraftObject(), ilObjForumGUI\publishThreadDraftObject(), SMTP\quit(), ilObjForumGUI\quotePostObject(), ilIniFile\read(), ilDBUpdate\readDBUpdateFile(), readGroup(), ilDBUpdate\readLastUpdateFile(), readVariable(), removeGroup(), ilObjTermsOfServiceGUI\reset(), ilContactGUI\resetContactsTableFilter(), ilMailingListsGUI\saveAssignmentForm(), ilMailingListsGUI\saveForm(), ilSetup\saveMasterSetup(), ilSetup\saveNewClient(), ilObjTermsOfServiceGUI\saveSettings(), ilObjForumGUI\saveThreadAsDraftObject(), ilObjForumGUI\saveThreadSortingObject(), IMSGlobal\LTI\HTTPMessage\send(), SMTP\sendCommand(), ilExternalFeed\setError(), GuzzleHttp\Psr7\UploadedFile\setError(), ilChatroomServerConnectorMock\setError(), ilClient\setError(), SMTP\setError(), ilForum\setForumId(), ilForum\setForumRefId(), ilSetup\setPassword(), ilObjTermsOfServiceGUI\settings(), setVariable(), ilObjTermsOfServiceGUI\showAcceptanceHistory(), ilObjTermsOfServiceGUI\showAgreementByLanguage(), ilMailingListsGUI\showAssignmentForm(), ilContactGUI\showContacts(), ilMailingListsGUI\showForm(), ilObjForumGUI\showStatisticsObject(), ilObjForumGUI\toggleStickinessObject(), ilObjForumGUI\toggleThreadNotificationObject(), SMTP\turn(), ilSetup\updateMasterSettings(), ilMailTemplateGUI\updateTemplate(), ilObjForumGUI\updateThreadDraftObject(), ilObjForumGUI\updateThreadObject(), and ilIniFile\write().
getError | ( | ) |
returns error @access public
Definition at line 407 of file class.ilIniFile.php.
References ilIniFile\$ERROR.
Referenced by trendClass\calculate().
getGroupCount | ( | ) |
returns number of groups @access public
Definition at line 255 of file class.ilIniFile.php.
groupExists | ( | $a_group_name | ) |
checks if a group exists @access public
string | group name |
Definition at line 282 of file class.ilIniFile.php.
Referenced by addGroup(), readGroup(), removeGroup(), and setVariable().
readGroup | ( | $a_group_name | ) |
returns an associative array of the variables in one group @access public
string | group name |
Definition at line 297 of file class.ilIniFile.php.
References error(), and groupExists().
Referenced by show(), and ilIniFile\write().
readGroups | ( | ) |
returns an array with the names of all the groups @access public
Definition at line 265 of file class.ilIniFile.php.
References $key.
Referenced by show(), and ilIniFile\write().
readVariable | ( | $a_group, | |
$a_var_name | |||
) |
reads a single variable from a group @access public
string | group name |
string | value |
Definition at line 361 of file class.ilIniFile.php.
References error().
Referenced by ilSoapInstallationInfoXMLWriter\__buildInstallationInfo(), ilMail\_getInstallationSignature(), ilUtil\deliverFile(), ilChatroomConfigFileHandler\getClientFileContent(), and ilDB\initFromIniFile().
removeGroup | ( | $a_group_name | ) |
removes a group @access public
string | group name |
Definition at line 330 of file class.ilIniFile.php.
References error(), and groupExists().
setVariable | ( | $a_group_name, | |
$a_var_name, | |||
$a_var_value | |||
) |
sets a variable in a group @access public
string | |
string | |
string |
Definition at line 379 of file class.ilIniFile.php.
References error(), and groupExists().
show | ( | ) |
returns the content of IniFile @access public
Definition at line 221 of file class.ilIniFile.php.
References $i, $key, readGroup(), readGroups(), and sprintf.
Referenced by ilPersonalDesktopGUI\executeCommand(), ilCalendarMonthGUI\getHTML(), ilPersonalDesktopGUI\jumpToMemberships(), ilPersonalDesktopGUI\jumpToSelectedItems(), and ilTemplate\show().
variableExists | ( | $a_group, | |
$a_var_name | |||
) |
returns if a variable exists or not @access public
string | group name |
string | value |
Definition at line 348 of file class.ilIniFile.php.