ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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(), ilObjContentPageGUI\__construct(), ilObjItemGroupGUI\__construct(), ilObjMediaPoolGUI\__construct(), ilObjWikiSettingsGUI\__construct(), ilObjHelpSettingsGUI\__construct(), ilObjTermsOfServiceGUI\__construct(), ilContainer\__construct(), ilObject\__construct(), ilIniFile\__construct(), ilFileDataForum\__construct(), ilObjectCopyGUI\__construct(), ilPageContentGUI\__construct(), ilOpenIdConnectSettingsGUI\__construct(), ilObjectActivationGUI\__construct(), ilSCORM2004ScoGUI\__construct(), ilExplorer\__construct(), ilPasteIntoMultipleItemsExplorer\__construct(), ilCategoryXmlParser\__construct(), ilContainerReferenceXmlParser\__construct(), Slim\Http\UploadedFile\__construct(), ilFolderXmlParser\__construct(), ilFileDataForumDrafts\__construct(), PhpOffice\PhpSpreadsheet\Shared\Trend\PolynomialBestFit\__construct(), php4DOMDocument\__construct(), ilMailSearchCoursesGUI\__construct(), ilMailSearchGroupsGUI\__construct(), PhpOffice\PhpSpreadsheet\Shared\Trend\BestFit\__construct(), PhpOffice\PhpSpreadsheet\Shared\Trend\ExponentialBestFit\__construct(), PhpOffice\PhpSpreadsheet\Shared\Trend\LinearBestFit\__construct(), PhpOffice\PhpSpreadsheet\Shared\Trend\LogarithmicBestFit\__construct(), PhpOffice\PhpSpreadsheet\Shared\Trend\PowerBestFit\__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(), ilTermsOfServiceAcceptanceHistoryGUI\__construct(), ilTermsOfServiceDocumentGUI\__construct(), ILIAS\Validation\Constraints\Custom\__construct(), Mail_RFC822\_hasUnclosedBrackets(), Mail_RFC822\_splitAddresses(), Mail_RFC822\_splitCheck(), Mail_RFC822\_validateAddress(), addGroup(), ilContactGUI\applyContactsTableFilter(), ilDBUpdate\applyCustomUpdates(), ilDBUpdate\applyHotfix(), ilDBUpdate\applyUpdate(), ilDBUpdate\applyUpdateNr(), ilObjForumGUI\askForPostActivationObject(), ilContactGUI\changeContactsView(), ilOpenIdConnectSettingsGUI\checkAccess(), ilSetup\checkDataDirSetup(), ilObjForumGUI\checkDraftAccess(), ilSetup\checkErrorLogSetup(), ilSetup\checkLogSetup(), ilSetup\checkPasswordSetup(), ilSetup\checkToolsSetup(), ilSetup\cloneFromSource(), ilMailTemplateGUI\confirmDeleteTemplate(), ilObjForumGUI\confirmDeleteThreadDraftsObject(), ilObjForumGUI\confirmDeleteThreads(), ilObjForumGUI\confirmMergeThreadsObject(), ilTermsOfServiceDocumentGUI\confirmReset(), PHPMailer\PHPMailer\SMTP\connect(), ilClient\connect(), Sabre\Event\coroutine(), ilClient\create(), ilSetup\createDatabase(), ilObjForumGUI\createThread(), ilObjForumGUI\createThreadObject(), ilTermsOfServiceDocumentGUI\deleteDocument(), ilObjForumGUI\deleteSelectedDraft(), ilMailTemplateGUI\deleteTemplate(), ilObjForumGUI\deleteThreadDraftsObject(), ilObjForumGUI\deliverDraftZipFileObject(), ilObjForumGUI\deliverZipFileObject(), ilTermsOfServiceDocumentGUI\detachCriterionAssignment(), ilObjForumGUI\disableForumNotificationObject(), ilObjForumGUI\editThreadDraftObject(), ilObjForumGUI\editThreadObject(), ilObjForumGUI\enableForumNotificationObject(), ilForumExportGUI\ensureThreadBelongsToForum(), ilObjForumGUI\ensureThreadBelongsToForum(), ilDBUpdate\execQuery(), ilObjContentPageGUI\executeCommand(), ilObjForumGUI\executeCommand(), ilObjCertificateSettingsGUI\executeCommand(), ilContactGUI\executeCommand(), ilMailingListsGUI\executeCommand(), ilMailSearchCoursesGUI\executeCommand(), ilMailSearchGroupsGUI\executeCommand(), ilTermsOfServiceDocumentGUI\executeCommand(), ilTermsOfServiceAcceptanceHistoryGUI\executeCommand(), ilForumExportGUI\exportHTML(), SimpleSAML\Logger\flush(), ilObjForumGUI\getContent(), ilClient\getError(), ilSetup\getError(), ILIAS\Validation\Constraints\Custom\getErrorMessage(), PhpOffice\PhpSpreadsheet\Cell\DataValidation\getHashCode(), SimpleSAML\Metadata\Sources\MDQ\getParsedSet(), ilObjForumGUI\infoScreen(), ilObjContentPageGUI\infoScreenForward(), 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(), PHPMailer\PHPMailer\SMTP\quit(), ilObjForumGUI\quotePostObject(), ilIniFile\read(), ilDBUpdate\readDBUpdateFile(), readGroup(), ilDBUpdate\readLastUpdateFile(), readVariable(), removeGroup(), ilTermsOfServiceDocumentGUI\reset(), ilContactGUI\resetContactsTableFilter(), ilTermsOfServiceDocumentGUI\saveAddDocumentForm(), ilMailingListsGUI\saveAssignmentForm(), ilTermsOfServiceDocumentGUI\saveAttachCriterionForm(), ilTermsOfServiceDocumentGUI\saveChangeCriterionForm(), ilTermsOfServiceDocumentGUI\saveDocumentSorting(), ilTermsOfServiceDocumentGUI\saveEditDocumentForm(), ilMailingListsGUI\saveForm(), ilSetup\saveMasterSetup(), ilSetup\saveNewClient(), ilObjTermsOfServiceGUI\saveSettings(), ilObjForumGUI\saveThreadAsDraftObject(), ilObjForumGUI\saveThreadSortingObject(), IMSGlobal\LTI\HTTPMessage\send(), PHPMailer\PHPMailer\SMTP\sendCommand(), ilMailTemplateGUI\setAsContextDefault(), ilExternalFeed\setError(), GuzzleHttp\Psr7\UploadedFile\setError(), ilChatroomServerConnectorMock\setError(), ILIAS\UI\Implementation\Component\Input\Field\Input\setError(), ilClient\setError(), PHPMailer\PHPMailer\SMTP\setError(), PhpOffice\PhpSpreadsheet\Cell\DataValidation\setError(), ilForum\setForumId(), ilForum\setForumRefId(), ilObjTermsOfServiceGUI\settings(), ilTermsOfServiceAcceptanceHistoryGUITest\setUp(), ilTermsOfServiceDocumentGUITest\setUp(), setVariable(), ilTermsOfServiceDocumentGUI\showAddDocumentForm(), ilMailingListsGUI\showAssignmentForm(), ilTermsOfServiceDocumentGUI\showAttachCriterionForm(), ilTermsOfServiceDocumentGUI\showChangeCriterionForm(), ilContactGUI\showContacts(), ilTermsOfServiceDocumentGUI\showEditDocumentForm(), ilMailingListsGUI\showForm(), ilObjForumGUI\showStatisticsObject(), ilSetup\storeMasterPassword(), ilTermsOfServiceAcceptanceHistoryGUITest\testAccessDeniedErrorIsRaisedWhenPermissionsAreMissing(), ilTermsOfServiceDocumentGUITest\testAccessDeniedErrorIsRaisedWhenPermissionsAreMissing(), Sabre\Event\CoroutineTest\testCoroutineException(), Sabre\Event\CoroutineTest\testDeepException(), ilTermsOfServiceDocumentGUITest\testLastResetDateIsDisplayedInMessageBoxWhenAgreementsHaveBeenResetAtLeastOnce(), ilTermsOfServiceDocumentGUITest\testNoLastResetDateIsDisplayedInMessageBoxWhenAgreementsHaveBeenResetAtLeastOnce(), Sabre\Event\CoroutineTest\testResolveToLastYield(), ilObjForumGUI\toggleStickinessObject(), ilObjForumGUI\toggleThreadNotificationObject(), PHPMailer\PHPMailer\SMTP\turn(), ilMailTemplateGUI\unsetAsContextDefault(), 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 PhpOffice\PhpSpreadsheet\Shared\Trend\Trend\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(), and ilChatroomConfigFileHandler\getClientFileContent().
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(), and readGroups().
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.