ILIAS
release_8 Revision v8.19
|
Customizing of pimple-DIC for ILIAS. More...
Public Member Functions | |
database () | |
Get interface to the Database. More... | |
rbac () | |
Get interface to get interfaces to all things rbac. More... | |
ctrl () | |
Get the interface to the control structure. More... | |
user () | |
Get the current user. More... | |
access () | |
Get interface for access checks. More... | |
repositoryTree () | |
Get interface to the repository tree. More... | |
language () | |
Get interface to the i18n service. More... | |
logger () | |
Get interface to get interfaces to different loggers. More... | |
toolbar () | |
Get interface to the toolbar. More... | |
tabs () | |
Get interface to the tabs. More... | |
ui () | |
Get the interface to get services from UI framework. More... | |
settings () | |
Get the interface to the settings. More... | |
filesystem () | |
Get the Filesystem service interface. More... | |
upload () | |
Gets the file upload interface. More... | |
backgroundTasks () | |
globalScreen () | |
http () | |
event () | |
iliasIni () | |
clientIni () | |
systemStyle () | |
help () | |
question () | |
conditions () | |
Get conditions service. More... | |
learningHistory () | |
news () | |
object () | |
exercise () | |
task () | |
refinery () | |
uiService () | |
bookingManager () | |
skills () | |
resourceStorage () | |
repository () | |
container () | |
containerReference () | |
category () | |
folder () | |
rootFolder () | |
copage () | |
learningModule () | |
wiki () | |
mediaObjects () | |
survey () | |
surveyQuestionPool () | |
test () | |
testQuestionPool () | |
workflowEngine () | |
mediaPool () | |
notes () | |
glossary () | |
portfolio () | |
blog () | |
mediaCast () | |
itemGroup () | |
htmlLearningModule () | |
awareness () | |
fileServiceSettings () | |
contentStyle () | |
notifications () | |
cron () | |
isDependencyAvailable (string $name) | |
Note: Only use isDependencyAvailable if strictly required. More... | |
Private Attributes | |
ilFileServicesSettings | $file_service_settings = null |
Customizing of pimple-DIC for ILIAS.
This just exposes some services in the container as plain methods to help IDEs when using ILIAS.
Definition at line 31 of file Container.php.
ILIAS\DI\Container::access | ( | ) |
Get interface for access checks.
Definition at line 70 of file Container.php.
Referenced by ILIAS\Awareness\User\ProviderCurrentCourse\__construct(), ILIAS\DI\Container\learningHistory(), ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies(), and ILIAS\DI\Container\task().
ILIAS\DI\Container::awareness | ( | ) |
Definition at line 381 of file Container.php.
Referenced by ILIAS\Awareness\User\ProviderCurrentCourse\__construct().
ILIAS\DI\Container::backgroundTasks | ( | ) |
Definition at line 149 of file Container.php.
Referenced by ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::blog | ( | ) |
Definition at line 361 of file Container.php.
ILIAS\DI\Container::bookingManager | ( | ) |
Definition at line 251 of file Container.php.
ILIAS\DI\Container::category | ( | ) |
Definition at line 281 of file Container.php.
ILIAS\DI\Container::clientIni | ( | ) |
Definition at line 179 of file Container.php.
Referenced by ILIAS\DI\Container\fileServiceSettings().
ILIAS\DI\Container::conditions | ( | ) |
Get conditions service.
Definition at line 202 of file Container.php.
ILIAS\DI\Container::container | ( | ) |
Definition at line 271 of file Container.php.
ILIAS\DI\Container::containerReference | ( | ) |
Definition at line 276 of file Container.php.
ILIAS\DI\Container::contentStyle | ( | ) |
Definition at line 398 of file Container.php.
ILIAS\DI\Container::copage | ( | ) |
Definition at line 296 of file Container.php.
ILIAS\DI\Container::cron | ( | ) |
Definition at line 408 of file Container.php.
ILIAS\DI\Container::ctrl | ( | ) |
Get the interface to the control structure.
Definition at line 54 of file Container.php.
Referenced by ilNotificationGUI\__construct(), ilTestCorrectionsGUI\__construct(), ilMMTopItemGUI\add(), ilMMTopItemGUI\create(), ilMMTopItemGUI\edit(), ILIAS\Notes\Provider\NotesMainBarProvider\getStaticSubItems(), ILIAS\Membership\GlobalScreen\MembershipMainBarProvider\getStaticSubItems(), ILIAS\Tasks\DerivedTasks\Provider\DerivedTaskMainBarProvider\getStaticSubItems(), ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies(), and ilMMTopItemGUI\update().
ILIAS\DI\Container::database | ( | ) |
Get interface to the Database.
Definition at line 38 of file Container.php.
Referenced by ILIAS\Awareness\User\ProviderAllUsers\__construct(), ILIAS\Awareness\User\ProviderSystemContacts\__construct(), ILIAS\Awareness\User\ProviderCourseContacts\__construct(), ILIAS\Awareness\User\ProviderMemberships\__construct(), ILIAS\Portfolio\InternalService\__construct(), ILIAS\HTMLLearningModule\InternalService\__construct(), ILIAS\ItemGroup\InternalService\__construct(), ILIAS\Blog\InternalService\__construct(), ILIAS\Glossary\InternalService\__construct(), ILIAS\MediaCast\InternalService\__construct(), ILIAS\MediaPool\InternalService\__construct(), ILIAS\Notes\InternalService\__construct(), ILIAS\MediaObjects\InternalService\__construct(), ILIAS\Repository\InternalService\__construct(), ILIAS\Block\InternalService\__construct(), ILIAS\Awareness\InternalService\__construct(), ILIAS\BookingManager\InternalService\__construct(), ILIAS\Wiki\InternalService\__construct(), ILIAS\SurveyQuestionPool\InternalService\__construct(), ILIAS\Style\Content\InternalService\__construct(), ILIAS\COPage\InternalService\__construct(), ILIAS\LearningModule\InternalService\__construct(), ILIAS\Awareness\User\ProviderCurrentCourse\__construct(), ilTestCorrectionsGUI\__construct(), ILIAS\DI\Container\fileServiceSettings(), and ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::event | ( | ) |
Definition at line 169 of file Container.php.
ILIAS\DI\Container::exercise | ( | ) |
Definition at line 228 of file Container.php.
ILIAS\DI\Container::fileServiceSettings | ( | ) |
Definition at line 386 of file Container.php.
References ILIAS\DI\Container\$file_service_settings, ILIAS\DI\Container\clientIni(), ILIAS\DI\Container\database(), and ILIAS\DI\Container\settings().
ILIAS\DI\Container::filesystem | ( | ) |
Get the Filesystem service interface.
Definition at line 135 of file Container.php.
Referenced by ILIAS\Style\Content\InternalService\__construct(), and ILIAS\DI\Container\object().
ILIAS\DI\Container::folder | ( | ) |
Definition at line 286 of file Container.php.
ILIAS\DI\Container::globalScreen | ( | ) |
Definition at line 155 of file Container.php.
Referenced by ILIAS\GlobalScreen\Provider\AbstractPluginProvider\__construct().
ILIAS\DI\Container::glossary | ( | ) |
Definition at line 351 of file Container.php.
ILIAS\DI\Container::help | ( | ) |
Definition at line 189 of file Container.php.
Referenced by ilTestCorrectionsGUI\__construct().
ILIAS\DI\Container::htmlLearningModule | ( | ) |
Definition at line 376 of file Container.php.
ILIAS\DI\Container::http | ( | ) |
Definition at line 164 of file Container.php.
Referenced by ILIAS\TestQuestionPool\InternalService\__construct(), ILIAS\WorkflowEngine\InternalService\__construct(), ilTestCorrectionsGUI\__construct(), ilMMTopItemGUI\add(), ilMMTopItemGUI\create(), ilMMTopItemGUI\edit(), ILIAS\UI\examples\Layout\Page\Standard\getRenderedPage(), InitCtrlService\init(), ILIAS\DI\Container\uiService(), and ilMMTopItemGUI\update().
ILIAS\DI\Container::iliasIni | ( | ) |
Definition at line 174 of file Container.php.
ILIAS\DI\Container::isDependencyAvailable | ( | string | $name | ) |
Note: Only use isDependencyAvailable if strictly required.
The need for this, mostly points to some underlying problem needing to be solved instead of using this. This was introduced as temporary workaround. See: https://github.com/ILIAS-eLearning/ILIAS/pull/1064
This is syntactic sugar for executing the try catch statement in the clients code. Note that the use of the offsetSet code of the default container should be avoided, since knowledge about the containers internal mechanism is injected.
Example: //This is bad since the client should not need to know about the id's name $DIC->offsetSet("styleDefinition")
//This is better, since the client just needs to know the name defined in the //interface of the component $DIC->isDependencyAvailable("systemStyle")
Definition at line 430 of file Container.php.
References Vendor\Package\$e, and $name.
ILIAS\DI\Container::itemGroup | ( | ) |
Definition at line 371 of file Container.php.
ILIAS\DI\Container::language | ( | ) |
Get interface to the i18n service.
Definition at line 86 of file Container.php.
Referenced by ILIAS\Services\User\UserFieldAttributesChangeListener\__construct(), ILIAS\Awareness\User\ProviderAllUsers\__construct(), ILIAS\Awareness\User\ProviderSystemContacts\__construct(), ILIAS\Awareness\User\ProviderCourseContacts\__construct(), ILIAS\Awareness\User\ProviderMemberships\__construct(), ilAwarenessUserProviderApprovedContacts\__construct(), ilAwarenessUserProviderContactRequests\__construct(), ILIAS\Awareness\User\ProviderCurrentCourse\__construct(), ilCertificateCron\__construct(), ilNotificationGUI\__construct(), ILIAS\OnScreenChat\Provider\OnScreenChatProvider\__construct(), ilTestCorrectionsGUI\__construct(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getHomeItem(), ILIAS\Portfolio\Provider\PortfolioMainBarProvider\getStaticSubItems(), ILIAS\News\Provider\NewsMainBarProvider\getStaticSubItems(), ILIAS\Notes\Provider\NotesMainBarProvider\getStaticSubItems(), ILIAS\Mail\Provider\MailMainBarProvider\getStaticSubItems(), ILIAS\PersonalWorkspace\Provider\WorkspaceMainBarProvider\getStaticSubItems(), ILIAS\Tasks\DerivedTasks\Provider\DerivedTaskMainBarProvider\getStaticSubItems(), ILIAS\DI\Container\learningHistory(), ILIAS\DI\Container\news(), ILIAS\DI\Container\object(), ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies(), and ILIAS\DI\Container\task().
ILIAS\DI\Container::learningHistory | ( | ) |
Definition at line 207 of file Container.php.
References ILIAS\DI\Container\access(), ILIAS\DI\Container\language(), ILIAS\DI\Container\repositoryTree(), ILIAS\DI\Container\ui(), and ILIAS\DI\Container\user().
ILIAS\DI\Container::learningModule | ( | ) |
Definition at line 301 of file Container.php.
ILIAS\DI\Container::logger | ( | ) |
Get interface to get interfaces to different loggers.
Definition at line 94 of file Container.php.
Referenced by ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::mediaCast | ( | ) |
Definition at line 366 of file Container.php.
ILIAS\DI\Container::mediaObjects | ( | ) |
Definition at line 311 of file Container.php.
ILIAS\DI\Container::mediaPool | ( | ) |
Definition at line 341 of file Container.php.
ILIAS\DI\Container::news | ( | ) |
Definition at line 218 of file Container.php.
References ILIAS\DI\Container\language(), ILIAS\DI\Container\settings(), and ILIAS\DI\Container\user().
ILIAS\DI\Container::notes | ( | ) |
Definition at line 346 of file Container.php.
ILIAS\DI\Container::notifications | ( | ) |
Definition at line 403 of file Container.php.
ILIAS\DI\Container::object | ( | ) |
Definition at line 223 of file Container.php.
References ILIAS\DI\Container\filesystem(), ILIAS\DI\Container\language(), ILIAS\DI\Container\settings(), and ILIAS\DI\Container\upload().
ILIAS\DI\Container::portfolio | ( | ) |
Definition at line 356 of file Container.php.
ILIAS\DI\Container::question | ( | ) |
Definition at line 194 of file Container.php.
ILIAS\DI\Container::rbac | ( | ) |
Get interface to get interfaces to all things rbac.
Definition at line 46 of file Container.php.
Referenced by ILIAS\Awareness\User\ProviderCurrentCourse\__construct(), ILIAS\Style\Content\InternalDomainService\__construct(), ILIAS\Mail\Provider\MailMainBarProvider\getStaticSubItems(), ILIAS\Chatroom\Provider\ChatMainBarProvider\getStaticSubItems(), and ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::refinery | ( | ) |
Definition at line 239 of file Container.php.
Referenced by ILIAS\TestQuestionPool\InternalService\__construct(), ILIAS\WorkflowEngine\InternalService\__construct(), ilTestCorrectionsGUI\__construct(), and InitCtrlService\init().
ILIAS\DI\Container::repository | ( | ) |
Definition at line 266 of file Container.php.
Referenced by ILIAS\Repository\Provider\RepositoryMainBarProvider\__construct().
ILIAS\DI\Container::repositoryTree | ( | ) |
Get interface to the repository tree.
Definition at line 78 of file Container.php.
Referenced by ILIAS\Awareness\User\ProviderCurrentCourse\__construct(), ILIAS\DI\Container\learningHistory(), and ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::resourceStorage | ( | ) |
Definition at line 261 of file Container.php.
ILIAS\DI\Container::rootFolder | ( | ) |
Definition at line 291 of file Container.php.
ILIAS\DI\Container::settings | ( | ) |
Get the interface to the settings.
Definition at line 126 of file Container.php.
Referenced by ILIAS\EmployeeTalk\Provider\MyStaffListEntryProvider\__construct(), ILIAS\DI\Container\fileServiceSettings(), ILIAS\Portfolio\Provider\PortfolioMainBarProvider\getStaticSubItems(), ILIAS\News\Provider\NewsMainBarProvider\getStaticSubItems(), ILIAS\Notes\Provider\NotesMainBarProvider\getStaticSubItems(), ILIAS\PersonalWorkspace\Provider\WorkspaceMainBarProvider\getStaticSubItems(), ILIAS\MyStaff\Provider\StaffMainBarProvider\getStaticSubItems(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getStaticSubItems(), ILIAS\DI\Container\news(), ILIAS\DI\Container\object(), and ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::skills | ( | ) |
Definition at line 256 of file Container.php.
ILIAS\DI\Container::survey | ( | ) |
Definition at line 316 of file Container.php.
ILIAS\DI\Container::surveyQuestionPool | ( | ) |
Definition at line 321 of file Container.php.
ILIAS\DI\Container::systemStyle | ( | ) |
Definition at line 184 of file Container.php.
ILIAS\DI\Container::tabs | ( | ) |
Get interface to the tabs.
Definition at line 110 of file Container.php.
Referenced by ilTestCorrectionsGUI\__construct(), and ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::task | ( | ) |
Definition at line 233 of file Container.php.
References ILIAS\DI\Container\access(), ILIAS\DI\Container\language(), ILIAS\DI\Container\ui(), and ILIAS\DI\Container\user().
ILIAS\DI\Container::test | ( | ) |
Definition at line 326 of file Container.php.
Referenced by ilTestCorrectionsGUI\__construct().
ILIAS\DI\Container::testQuestionPool | ( | ) |
Definition at line 331 of file Container.php.
ILIAS\DI\Container::toolbar | ( | ) |
Get interface to the toolbar.
Definition at line 102 of file Container.php.
Referenced by ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::ui | ( | ) |
Get the interface to get services from UI framework.
Definition at line 118 of file Container.php.
Referenced by ilMStListCompetencesGUI\__construct(), ilNotificationGUI\__construct(), ilTestCorrectionsGUI\__construct(), ilMMTopItemGUI\add(), ilMMTopItemGUI\create(), ilMMTopItemGUI\edit(), ILIAS\UI\examples\Layout\Page\Standard\getRenderedPage(), ILIAS\Chatroom\Provider\ChatMainBarProvider\getStaticSubItems(), ILIAS\MyStaff\Provider\StaffMainBarProvider\getStaticSubItems(), ILIAS\UI\examples\Layout\Page\Standard\getUIMainbarExampleCondensed(), ILIAS\UI\examples\Layout\Page\Standard\getUIMainbarExampleFull(), ILIAS\DI\Container\learningHistory(), ILIAS\UI\examples\Layout\Page\Standard\renderFooterInFullscreenMode(), ILIAS\UI\examples\MainControls\Footer\renderFooterInFullscreenMode(), ILIAS\UI\examples\MainControls\Footer\renderFooterWithModalsInFullscreenMode(), ILIAS\UI\examples\MainControls\MetaBar\renderMetaBarInFullscreenMode(), ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies(), ILIAS\DI\Container\task(), ILIAS\DI\Container\uiService(), and ilMMTopItemGUI\update().
ILIAS\DI\Container::uiService | ( | ) |
Definition at line 245 of file Container.php.
References ILIAS\DI\Container\http(), and ILIAS\DI\Container\ui().
ILIAS\DI\Container::upload | ( | ) |
Gets the file upload interface.
Definition at line 144 of file Container.php.
Referenced by ILIAS\TestQuestionPool\InternalService\__construct(), ILIAS\Style\Content\InternalService\__construct(), and ILIAS\DI\Container\object().
ILIAS\DI\Container::user | ( | ) |
Get the current user.
Definition at line 62 of file Container.php.
Referenced by ILIAS\Awareness\User\ProviderCourseContacts\__construct(), ILIAS\Awareness\User\ProviderMemberships\__construct(), ilAwarenessUserProviderApprovedContacts\__construct(), ilAwarenessUserProviderContactRequests\__construct(), ilNotificationGUI\__construct(), ILIAS\Mail\Provider\MailMainBarProvider\getStaticSubItems(), ILIAS\Chatroom\Provider\ChatMainBarProvider\getStaticSubItems(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getStaticSubItems(), ILIAS\DI\Container\learningHistory(), ILIAS\DI\Container\news(), ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies(), and ILIAS\DI\Container\task().
ILIAS\DI\Container::wiki | ( | ) |
Definition at line 306 of file Container.php.
ILIAS\DI\Container::workflowEngine | ( | ) |
Definition at line 336 of file Container.php.
|
private |
Definition at line 33 of file Container.php.
Referenced by ILIAS\DI\Container\fileServiceSettings().