|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ILIAS:Public Member Functions | |
| __construct () | |
| Constructor setup ILIAS global object @access public. More... | |
| getSetting (string $a_keyword, ?string $a_default_value=null) | |
| read one value from settingstable More... | |
| deleteSetting (string $a_keyword) | |
| delete one value from settingstable More... | |
| getAllSettings () | |
| setSetting (string $a_key, string $a_val) | |
| getClientId () | |
| raiseError (string $a_msg, int $a_err_obj) | |
| wrapper for downward compability More... | |
Data Fields | |
| string | $INI_FILE |
| string | $client_id = '' |
| $account | |
| $ini = array() | |
| $ini_ilias | |
| $db | |
| $error_obj | |
Protected Member Functions | |
| getSettingObject () | |
Protected Attributes | |
| ilSetting | $setting = null |
| ilErrorHandling | $error |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning ILIAS base class perform basic setup: init database handler, load configuration file, init user authentification & error handler, load object type definitions
Definition at line 28 of file class.ilias.php.
| ILIAS::__construct | ( | ) |
Constructor setup ILIAS global object @access public.
Definition at line 76 of file class.ilias.php.
References $DIC, $ilDB, and $ilIliasIniFile.
Referenced by ILIAS\UI\examples\Navigation\Sequence\base(), ILIAS\UI\examples\Table\Column\Boolean\base(), ILIAS\UI\examples\Table\Column\Link\base(), ILIAS\UI\examples\Table\Column\LinkListing\base(), ILIAS\UI\examples\Table\Column\Number\base(), ILIAS\UI\examples\Table\Column\StatusIcon\base(), ILIAS\UI\examples\Table\Column\Text\base(), ILIAS\UI\examples\Table\Data\base(), ILIAS\Test\Tests\Results\Data\TestResultRepositoryTest\createMarksRepositoryMock(), ILIAS\UI\examples\Tree\Expandable\expandable2(), ILIAS\MetaData\Vocabularies\Standard\RepositoryTest\getAssignments(), ILIAS\MetaData\Elements\Base\BaseElementTest\getBaseElement(), ILIAS\MetaData\Vocabularies\Copyright\BridgeTest\getCopyright(), ILIAS\MetaData\XML\Copyright\CopyrightHandlerTest\getCopyrightEntry(), ILIAS\MetaData\Vocabularies\Copyright\BridgeTest\getCopyrightRepository(), ILIAS\MetaData\XML\Copyright\CopyrightHandlerTest\getCopyrightRepository(), ILIAS\MetaData\Services\Derivation\Creation\CreatorTest\getCreator(), ILIAS\MetaData\Repository\Utilities\Queries\Paths\DatabasePathsParserTest\getDatabasePathsParser(), ILIAS\MetaData\Repository\Utilities\Queries\DatabaseSearcherTest\getDatabaseSearcher(), ILIAS\AdvancedMetaData\Repository\FieldDefinition\TypeSpecificData\Select\DatabaseGatewayTest\getDBGateway(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\getDBWrapper(), ILIAS\MetaData\Elements\Base\BaseElementTest\getDefinition(), ILIAS\MetaData\Elements\ElementTest\getDefinition(), ILIAS\MetaData\Elements\Structure\StructureElementTest\getDefinition(), ILIAS\MetaData\Structure\Dictionaries\DictionaryInitiatorTest\getDictionaryInitiator(), ILIAS\MetaData\XML\Reader\Standard\StructurallyCoupledTest\getElement(), ILIAS\ResourceStorage\Policy\FileNamePolicyTest\getFileNamePolicy(), ILIAS\MetaData\Vocabularies\Standard\RepositoryTest\getGateway(), ILIAS\MetaData\Repository\IdentifierHandler\IdentifierHandlerTest\getIdentifierHandler(), ILIAS\MetaData\Structure\Definitions\LOMReaderTest\getInitialReader(), ILIAS\MetaData\Copyright\Search\SearcherTest\getLOMRepository(), ILIAS\MetaData\OERHarvester\XML\WriterTest\getLOMRepository(), ILIAS\MetaData\Structure\LOMStructureInitiatorTest\getLOMStructureInitiator(), ILIAS\Glossary\Flashcard\FlashcardManagerTest\getManagerMock(), ILIAS\Skill\Profile\SkillProfileCompletionManagerTest\getManagerMock(), ILIAS\MetaData\Elements\ElementTest\getMarkerFactory(), ILIAS\MetaData\Manipulator\ManipulatorTest\getMarkerFactoryMock(), ILIAS\MetaData\Manipulator\ManipulatorTest\getMarkerMock(), ILIAS\GlobalScreen\Scope\Layout\MetaDataTest\getMockedTag(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockElement(), ILIAS\MetaData\Manipulator\Path\PathConditionsCollectionTest\getMockStep(), ILIAS\AdvancedMetaData\Repository\FieldDefinition\TypeSpecificData\Select\DatabaseGatewayTest\getOption(), ILIAS\MetaData\Manipulator\Path\PathConditionsCollectionTest\getPartiallyMockedPathConditionsCollection(), ILIAS\MetaData\Structure\Dictionaries\Tags\TagAssignmentTest\getPath(), ILIAS\MetaData\Repository\Utilities\Queries\Paths\DatabasePathsParserTest\getPath(), ILIAS\MetaData\Copyright\Search\SearcherTest\getPathFactory(), ILIAS\Skill\Profile\SkillProfileCompletionManagerTest\getProfileManagerMock(), ILIAS\MetaData\XML\Reader\Standard\StandardTest\getReader(), ILIAS\MetaData\XML\Reader\Standard\StructurallyCoupledTest\getReader(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\getRepo(), ILIAS\MetaData\OERExposer\OAIPMH\Responses\RequestProcessorTestCase\getRequest(), ILIAS\MetaData\Copyright\Search\SearcherTest\getRessourceID(), ILIAS\MetaData\Repository\IdentifierHandler\IdentifierHandlerTest\getRessourceID(), ILIAS\Search\Presentation\Result\UI\SanitizerPlaceholderTest\getSanitizerWithoutSanitization(), ILIAS\MetaData\Elements\ElementTest\getScaffoldProvider(), ILIAS\MetaData\Copyright\Search\SearcherTest\getSearchClauseFactory(), ILIAS\MetaData\Services\Search\SearcherTest\getSearcher(), ILIAS\MetaData\Copyright\Search\SearcherTest\getSearchFilterFactory(), ILIAS\MetaData\Services\ServicesTest\getServices(), ILIAS\MetaData\XML\Writer\Standard\StandardTest\getSet(), ILIAS\MetaData\Manipulator\ManipulatorTest\getSetMock(), ILIAS\MetaData\Vocabularies\Copyright\BridgeTest\getSettings(), ILIAS\MetaData\XML\Copyright\CopyrightHandlerTest\getSettings(), ILIAS\Glossary\Flashcard\FlashcardShuffleManagerTest\getShuffleManagerMock(), ILIAS\MetaData\Services\Derivation\SourceSelectorTest\getSourceSelector(), ILIAS\MetaData\XML\Writer\Standard\StandardTest\getStandardWriter(), ILIAS\MetaData\Manipulator\Path\PathConditionsCheckerTest\getStepMock(), ILIAS\MetaData\Structure\Dictionaries\Tags\TagTest\getTag(), ILIAS\Tests\UI\Component\Input\DynamicInputDataIteratorTest\getTestInputData(), ILIAS\MetaData\OERExposer\OAIPMH\FlowControl\TokenHandlerTest\getTokenHandler(), ILIAS\AdvancedMetaData\Repository\FieldDefinition\TypeSpecificData\Select\DatabaseGatewayTest\getTranslation(), ILIAS\Tests\UI\Component\Dropzone\File\FileTestBase\getUIFactory(), ILIAS\Tests\UI\Component\Input\Container\Form\FormWithoutSubmitButtonsTest\getUIFactory(), ILIAS\MetaData\Vocabularies\Copyright\BridgeTest\getVocabFactory(), ILIAS\MetaData\Vocabularies\Standard\RepositoryTest\getVocabFactory(), ILIAS\Component\Tests\Resource\PublicAssetManagerTest\newPublicAsset(), ILIAS\Tests\Setup\CLI\HasAgentTest\setUp(), ILIAS\Tests\Setup\CLI\HasConfigReaderTest\setUp(), ILIAS\VirusScanner\tests\VirusScannerFactoryTest\setUp(), ILIAS\MetaData\Elements\Base\BaseElementTest\testDefinition(), ILIAS\Tests\Setup\ObjectiveIteratorTest\testFailedPreconditionLastOnStack(), ILIAS\Tests\Setup\ObjectiveIteratorTest\testFailedPreconditionWithOtherOnStack(), ILIAS\Component\Tests\Dependencies\ReaderTest\testReaderProvidesMocks(), ILIAS\Component\Tests\Dependencies\ReaderTest\testReaderResolvesInternal(), ILIAS\Component\Tests\Dependencies\ReaderTest\testSimpleInternal(), ILIAS\LegalDocuments\test\InternalTest\wiring(), and ILIAS\UI\examples\Table\Data\with_additional_viewcontrols().
Here is the caller graph for this function:| ILIAS::deleteSetting | ( | string | $a_keyword | ) |
delete one value from settingstable
Definition at line 112 of file class.ilias.php.
References getSettingObject().
Here is the call graph for this function:| ILIAS::getAllSettings | ( | ) |
Definition at line 120 of file class.ilias.php.
References getSettingObject().
Here is the call graph for this function:| ILIAS::getClientId | ( | ) |
Definition at line 133 of file class.ilias.php.
References CLIENT_ID.
Referenced by ILIAS\Tests\Setup\CLI\InstallCommandTest\basicFunctionality().
Here is the caller graph for this function:| ILIAS::getSetting | ( | string | $a_keyword, |
| ?string | $a_default_value = null |
||
| ) |
read one value from settingstable
Definition at line 102 of file class.ilias.php.
References getSettingObject().
Here is the call graph for this function:
|
protected |
Definition at line 88 of file class.ilias.php.
References $DIC, and $setting.
Referenced by deleteSetting(), getAllSettings(), getSetting(), and setSetting().
Here is the caller graph for this function:| ILIAS::raiseError | ( | string | $a_msg, |
| int | $a_err_obj | ||
| ) |
wrapper for downward compability
Definition at line 145 of file class.ilias.php.
Referenced by ilObjTest\_createImportDirectory().
Here is the caller graph for this function:| ILIAS::setSetting | ( | string | $a_key, |
| string | $a_val | ||
| ) |
Definition at line 128 of file class.ilias.php.
References getSettingObject().
Here is the call graph for this function:| ILIAS::$account |
Definition at line 42 of file class.ilias.php.
| string ILIAS::$client_id = '' |
| ILIAS::$db |
Definition at line 60 of file class.ilias.php.
Referenced by ILIAS\Notes\InternalRepoService\__construct(), ILIAS\User\Profile\Prompt\StartUpStep\__construct(), ILIAS\TestQuestionPool\Questions\Presentation\QuestionTable\__construct(), ILIAS\Administration\Setup\Objective\CopyPermissions\achieve(), ILIAS\Administration\Setup\Objective\DropPermissions\achieve(), ILIAS\BookingManager\Setup\AccessRBACOperationClonedObjective\achieve(), ILIAS\ILIASObject\Setup\NewTypeAddedObjective\achieve(), ILIAS\Wiki\Setup\AccessRBACOperationClonedObjective\achieve(), ILIAS\Wiki\Export\WikiHtmlExport\buildExportFile(), ILIAS\Test\Setup\DatabaseInconsistencyMetricsCollectedObjective\collectFrom(), ILIAS\Test\Setup\DatabaseInconsistencyMetricsCollectedObjective\collectMantis37759(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\count(), ILIAS\Portfolio\Administration\PortfolioRoleAssignmentDBRepository\delete(), ILIAS\Notes\NoteDBRepository\deleteNote(), ILIAS\Administration\Setup\Objective\CopyPermissions\firstRefIdOfType(), ILIAS\Administration\Setup\Objective\DropPermissions\firstRefIdOfType(), ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\gc(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\get(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\getAll(), ILIAS\Repository\Deletion\TreeDBRepo\getTrashedSubtrees(), ILIAS\Administration\Setup\AdminNodesVisibilityRemovedObjective\getTypesToChange(), ILIAS\Exercise\User\UserEvent\handleDeletion(), ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\instance(), ILIAS\Administration\Setup\Objective\CopyPermissions\isApplicable(), ILIAS\BookingManager\Setup\AccessRBACOperationClonedObjective\isApplicable(), ILIAS\ILIASObject\Setup\NewTypeAddedObjective\isApplicable(), ILIAS\Wiki\Setup\AccessRBACOperationClonedObjective\isApplicable(), ILIAS\BookingManager\Objects\ObjectsDBRepository\loadDataOfPool(), ILIAS\ResourceStorage\Lock\LockHandlerilDB\lockTables(), ILIAS\LegalDocuments\ConsumerToolbox\User\needsToAcceptNewDocument(), ILIAS\Administration\Setup\Objective\DropPermissions\operations(), ILIAS\OnScreenChat\Setup\UpdateSteps\prepare(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\remove(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\removeAllForSkill(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\removeAllForUser(), ILIAS\Exercise\Assignment\Mandatory\RandomAssignmentsDBRepository\saveAssignmentsOfUser(), ILIAS\Skill\Node\SkillCategoryTest\setUp(), ILIAS\User\Setup\MigrateNewAccountAttachments\step(), ILIAS\Tests\Services\Database\Integrity\IntegrityTest\testCheck(), ILIAS\Tests\Services\Database\Integrity\IntegrityTest\testConstruct(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testCreateWithFileImage(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testCreateWithLinkImage(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testDeleteEntry(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testGetActiveEntries(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testGetAllEntries(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testGetDefaultEntry(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testGetEntry(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testGetEntryNoLinks(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testGetEntryNoneFound(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testReorderEntries(), ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testUpdateWithFileImage(), and ILIAS\MetaData\Copyright\DatabaseRepositoryTest\testUpdateWithLinkImage().
|
protected |
Definition at line 69 of file class.ilias.php.
Referenced by ILIAS\UI\Implementation\Component\Input\Field\Duration\addValidation(), ILIAS\UI\Implementation\Component\Input\Field\Link\addValidation(), ILIAS\UI\Implementation\Component\Input\Field\Url\addValidation(), ILIAS\Refinery\Custom\Group\constraint(), ILIAS\COPage\Page\PageManager\contentFromXml(), ILIAS\COPage\Dom\DomUtil\docFromString(), ILIAS\Refinery\Parser\ABNF\Transform\error(), ILIAS\UI\Implementation\Component\Input\Input\getError(), ILIAS\Refinery\getErrorMessage(), ILIAS\Refinery\getLngClosure(), ILIAS\COPage\PC\Paragraph\ParagraphResponseFactory\getResponseObject(), ILIAS\COPage\PC\Paragraph\ParagraphResponseFactory\getResponseObjectMulti(), ILIAS\Search\ObjGUI\Readme\Helper\getServerErrorMessageBox(), ILIAS\COPage\PC\InteractiveImage\InteractiveImageCommandActionHandler\getStandardResponse(), ILIAS\MetaData\OERExposer\OAIPMH\Responses\RequestProcessorTestCase\getWriter(), ILIAS\COPage\PC\MediaObject\MediaObjectCommandActionHandler\insertCommand(), ILIAS\MetaData\Settings\Vocabularies\Import\Importer\loadXML(), ILIAS\UI\Implementation\Component\Input\Container\Form\Renderer\maybeAddError(), ILIAS\Survey\Page\PageRenderer\render(), ILIAS\OrgUnit\Webservices\SOAP\ImportOrgUnitTree\run(), ILIAS\COPage\PC\Table\TableCommandActionHandler\sendUpdateResponse(), ILIAS\Refinery\Parser\ABNF\Primitives\seq(), ILIAS\UI\Implementation\Component\Input\Field\Group\setError(), ILIAS\UI\Implementation\Component\Input\Input\setError(), ILIAS\UI\Implementation\Component\Input\ViewControl\Group\setError(), ILIAS\COPage\Editor\EditSessionRepository\setPageError(), ILIAS\Tests\Refinery\IdentityTransformationTest\testApplyToError(), ILIAS\Tests\Refinery\To\Transformation\NewObjectTransformationTest\testNewObjectApplyResultsErrorObjectOnInvalidConstructorArguments(), ILIAS\Tests\Refinery\To\Transformation\NewMethodTransformationTest\testPrivateMethodCanNotBeCalledInApplyto(), ILIAS\Tests\Refinery\To\Transformation\NewMethodTransformationTest\testPrivateMethodCanNotBeCalledInTransform(), ILIAS\Tests\Refinery\Integer\Constraints\GreaterThanConstraintTest\testRestrictError(), ILIAS\Tests\Refinery\Integer\Constraints\GreaterThanOrEqualConstraintTest\testRestrictError(), ILIAS\Tests\Refinery\Integer\Constraints\LessThanConstraintTest\testRestrictError(), ILIAS\Tests\Refinery\Integer\Constraints\LessThanOrEqualConstraintTest\testRestrictError(), ILIAS\MetaData\Structure\Definitions\LOMReader\throwStructureException(), ILIAS\COPage\Dom\DomUtil\validate(), ILIAS\UI\Implementation\Component\Input\Input\withError(), ILIAS\UI\Implementation\Component\Input\Field\FormInput\withInput(), ILIAS\UI\Implementation\Component\Input\withInput(), ILIAS\UI\Implementation\Component\Input\Input\withInput(), ILIAS\MetaData\OERExposer\OAIPMH\Responses\Writer\writeError(), and ILIAS\Refinery\String\EstimatedReadingTime\xmlErrorsToString().
| ILIAS::$error_obj |
Definition at line 66 of file class.ilias.php.
| ILIAS::$ini = array() |
Definition at line 48 of file class.ilias.php.
| string ILIAS::$INI_FILE |
Definition at line 30 of file class.ilias.php.
| ILIAS::$ini_ilias |
Definition at line 54 of file class.ilias.php.
|
protected |
Definition at line 68 of file class.ilias.php.
Referenced by ILIAS\Cron\Setup\DefinitionProcessor\__construct(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\ExpiredOrOrphanedMailsCollector\__construct(), ILIAS\Mail\Cron\ExpiredOrOrphanedMails\MailDeletionHandler\__construct(), ILIAS\DataProtection\test\SettingsTest\assertSelect(), ILIAS\TermsOfService\test\SettingsTest\assertSelect(), ILIAS\Blog\Settings\SettingsDBRepository\create(), ILIAS\User\Settings\DatabaseConfigurationRepository\getByIdentifier(), ILIAS\User\Settings\ConfigurationGUI\getRows(), getSettingObject(), ILIAS\Notifications\Provider\AwarenessToastProvider\getToasts(), ILIAS\User\Settings\DatabaseConfigurationRepository\storeConfiguration(), ILIAS\LegalDocuments\test\ConsumerToolbox\UserTest\testAcceptMatchingDocument(), ILIAS\DataProtection\test\UserSettingsTest\testAgreeDate(), ILIAS\LegalDocuments\test\ConsumerToolbox\UserTest\testAgreeDate(), ILIAS\TermsOfService\test\UserSettingsTest\testAgreeDate(), ILIAS\Course\Certificate\ilCertificateCourseLearningProgressEvaluationTest\testAllCoursesAreCompletedOnLPChange(), ILIAS\Course\Certificate\ilCertificateSettingsCourseFormRepositoryTest\testFetchFormFieldData(), ILIAS\LegalDocuments\test\ConsumerToolbox\UserTest\testNeverAgreed(), ILIAS\Course\Certificate\ilCertificateCourseLearningProgressEvaluationTest\testNoSubitemDefinedForEvaluation(), ILIAS\Course\Certificate\ilCertificateCourseLearningProgressEvaluationTest\testOnlyOneCourseIsCompletedOnLPChange(), ILIAS\LegalDocuments\test\ConsumerToolbox\RoutingTest\testRedirectToOriginalTarget(), ILIAS\Course\Certificate\ilCertificateSettingsCourseFormRepositoryTest\testSaveSettings(), ILIAS\LegalDocuments\test\ConsumerToolbox\SelectSettingTest\testTyped(), ILIAS\DataProtection\test\UserSettingsTest\testWithdrawalRequested(), ILIAS\LegalDocuments\ConsumerToolbox\ConsumerSlots\WithdrawProcessTest\testWithdrawalRequested(), ILIAS\LegalDocuments\test\ConsumerToolbox\UserTest\testWithdrawalRequested(), ILIAS\TermsOfService\test\UserSettingsTest\testWithdrawalRequested(), and ILIAS\Blog\Settings\SettingsDBRepository\update().