ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Customizing of pimple-DIC for ILIAS. More...
Public Member Functions | |
database () | |
Get interface to the Database. More... | |
globalCache () | |
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 () | |
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 () | |
testQuestion () | |
workflowEngine () | |
mediaPool () | |
notes () | |
glossary () | |
portfolio () | |
blog () | |
mediaCast () | |
itemGroup () | |
htmlLearningModule () | |
awareness () | |
export () | |
personalWorkspace () | |
taxonomy () | |
infoScreen () | |
fileServiceSettings () | |
archives () | |
legacyArchives () | |
fileConverters () | |
contentStyle () | |
notifications () | |
cron () | |
mail () | |
certificate () | |
fileDelivery () | |
learningObjectMetadata () | |
like () | |
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 35 of file Container.php.
ILIAS\DI\Container::access | ( | ) |
Get interface for access checks.
Definition at line 79 of file Container.php.
Referenced by ILIAS\DI\Container\learningHistory(), ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies(), and ILIAS\DI\Container\task().
ILIAS\DI\Container::archives | ( | ) |
Definition at line 418 of file Container.php.
ILIAS\DI\Container::awareness | ( | ) |
Definition at line 380 of file Container.php.
ILIAS\DI\Container::backgroundTasks | ( | ) |
Definition at line 158 of file Container.php.
Referenced by ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::blog | ( | ) |
Definition at line 360 of file Container.php.
ILIAS\DI\Container::bookingManager | ( | ) |
Definition at line 255 of file Container.php.
ILIAS\DI\Container::category | ( | ) |
Definition at line 285 of file Container.php.
ILIAS\DI\Container::certificate | ( | ) |
Definition at line 456 of file Container.php.
ILIAS\DI\Container::clientIni | ( | ) |
Definition at line 188 of file Container.php.
Referenced by ILIAS\DI\Container\fileServiceSettings().
ILIAS\DI\Container::conditions | ( | ) |
Get conditions service.
Definition at line 206 of file Container.php.
ILIAS\DI\Container::container | ( | ) |
Definition at line 275 of file Container.php.
ILIAS\DI\Container::containerReference | ( | ) |
Definition at line 280 of file Container.php.
ILIAS\DI\Container::contentStyle | ( | ) |
Definition at line 436 of file Container.php.
ILIAS\DI\Container::copage | ( | ) |
Definition at line 300 of file Container.php.
ILIAS\DI\Container::cron | ( | ) |
Definition at line 446 of file Container.php.
ILIAS\DI\Container::ctrl | ( | ) |
Get the interface to the control structure.
Definition at line 63 of file Container.php.
Referenced by ilMMTopItemGUI\add(), ilMMTopItemGUI\create(), ilMMTopItemGUI\edit(), ILIAS\Notes\Provider\NotesMainBarProvider\getStaticSubItems(), ILIAS\Membership\GlobalScreen\MembershipMainBarProvider\getStaticSubItems(), ILIAS\Tasks\DerivedTasks\Provider\DerivedTaskMainBarProvider\getStaticSubItems(), ilHTLMExportOptionHTML\init(), ilForumExportOptionHTML\init(), ilOrgUnitExportOptionXML\init(), ilOrgUnitExportOptionXLS\init(), ilLearningModuleExportOptionHTML\init(), ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicLegacyHandler\init(), ilExportExportOptionXML\init(), ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies(), and ilMMTopItemGUI\update().
ILIAS\DI\Container::database | ( | ) |
Get interface to the Database.
Definition at line 42 of file Container.php.
Referenced by ILIAS\SurveyQuestionPool\InternalService\__construct(), ILIAS\Wiki\InternalService\__construct(), ilFooterCustomGroupsProvider\__construct(), ILIAS\DI\Container\fileServiceSettings(), and ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::event | ( | ) |
Definition at line 178 of file Container.php.
ILIAS\DI\Container::exercise | ( | ) |
Definition at line 232 of file Container.php.
ILIAS\DI\Container::export | ( | ) |
Definition at line 385 of file Container.php.
ILIAS\DI\Container::fileConverters | ( | ) |
Definition at line 431 of file Container.php.
ILIAS\DI\Container::fileDelivery | ( | ) |
Definition at line 461 of file Container.php.
ILIAS\DI\Container::fileServiceSettings | ( | ) |
Definition at line 405 of file Container.php.
References ILIAS\DI\Container\$file_service_settings, ILIAS\DI\Container\clientIni(), ILIAS\DI\Container\database(), null, and ILIAS\DI\Container\settings().
ILIAS\DI\Container::filesystem | ( | ) |
Get the Filesystem service interface.
Definition at line 144 of file Container.php.
ILIAS\DI\Container::folder | ( | ) |
Definition at line 290 of file Container.php.
ILIAS\DI\Container::globalCache | ( | ) |
Definition at line 47 of file Container.php.
References null.
ILIAS\DI\Container::globalScreen | ( | ) |
Definition at line 164 of file Container.php.
Referenced by ILIAS\GlobalScreen\Provider\Provider\AbstractPluginProvider\__construct().
ILIAS\DI\Container::glossary | ( | ) |
Definition at line 350 of file Container.php.
ILIAS\DI\Container::help | ( | ) |
Definition at line 198 of file Container.php.
ILIAS\DI\Container::htmlLearningModule | ( | ) |
Definition at line 375 of file Container.php.
ILIAS\DI\Container::http | ( | ) |
Definition at line 173 of file Container.php.
Referenced by 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 183 of file Container.php.
Referenced by ilTestExportOptionARC\init().
ILIAS\DI\Container::infoScreen | ( | ) |
Definition at line 400 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 494 of file Container.php.
References Vendor\Package\$e.
Referenced by ILIAS\ResourceStorage\Stakeholder\AbstractResourceStakeholder\__construct().
ILIAS\DI\Container::itemGroup | ( | ) |
Definition at line 370 of file Container.php.
ILIAS\DI\Container::language | ( | ) |
Get interface to the i18n service.
Definition at line 95 of file Container.php.
Referenced by ILIAS\User\Profile\ChangeListeners\UserFieldAttributesChangeListener\__construct(), ilAwarenessUserProviderContactRequests\__construct(), ilAwarenessUserProviderApprovedContacts\__construct(), ilCertificateCron\__construct(), ILIAS\OnScreenChat\Provider\OnScreenChatProvider\__construct(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getHomeItem(), ILIAS\Portfolio\Provider\PortfolioMainBarProvider\getStaticSubItems(), ILIAS\Notes\Provider\NotesMainBarProvider\getStaticSubItems(), ILIAS\News\Provider\NewsMainBarProvider\getStaticSubItems(), ILIAS\Mail\Provider\MailMainBarProvider\getStaticSubItems(), ILIAS\PersonalWorkspace\Provider\WorkspaceMainBarProvider\getStaticSubItems(), ILIAS\Tasks\DerivedTasks\Provider\DerivedTaskMainBarProvider\getStaticSubItems(), ILIAS\MyStaff\Provider\StaffMainBarProvider\getStaticSubItems(), ilGlossaryExportOptionHTML\init(), ilBlogExportOptionHTML\init(), ilBlogExportOptionHTMLWithComments\init(), ilLearningModuleExportOptionXML\init(), ilForumExportOptionHTML\init(), ilHTLMExportOptionHTML\init(), ilDataCollectionExportOptionsXLSX\init(), ilMediaPoolExportOptionXMLMaster\init(), ilMediaPoolExportOptionXMLMasterNoMedia\init(), ilWikiExportOptionHTMLWithComments\init(), ilTestExportOptionARC\init(), ilOrgUnitExportOptionXML\init(), ilWikiExportOptionHTML\init(), ilOrgUnitExportOptionXLS\init(), ilLearningModuleExportOptionHTML\init(), ilExportExportOptionXML\init(), ILIAS\DI\Container\learningHistory(), ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies(), and ILIAS\DI\Container\task().
ILIAS\DI\Container::learningHistory | ( | ) |
Definition at line 211 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 305 of file Container.php.
ILIAS\DI\Container::learningObjectMetadata | ( | ) |
Definition at line 466 of file Container.php.
Referenced by ilLearningModuleExportOptionHTML\init().
ILIAS\DI\Container::legacyArchives | ( | ) |
Definition at line 426 of file Container.php.
ILIAS\DI\Container::like | ( | ) |
Definition at line 471 of file Container.php.
ILIAS\DI\Container::logger | ( | ) |
Get interface to get interfaces to different loggers.
Definition at line 103 of file Container.php.
Referenced by ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::mail | ( | ) |
Definition at line 451 of file Container.php.
ILIAS\DI\Container::mediaCast | ( | ) |
Definition at line 365 of file Container.php.
ILIAS\DI\Container::mediaObjects | ( | ) |
Definition at line 315 of file Container.php.
ILIAS\DI\Container::mediaPool | ( | ) |
Definition at line 340 of file Container.php.
ILIAS\DI\Container::news | ( | ) |
Definition at line 222 of file Container.php.
ILIAS\DI\Container::notes | ( | ) |
Definition at line 345 of file Container.php.
ILIAS\DI\Container::notifications | ( | ) |
Definition at line 441 of file Container.php.
ILIAS\DI\Container::object | ( | ) |
Definition at line 227 of file Container.php.
ILIAS\DI\Container::personalWorkspace | ( | ) |
Definition at line 390 of file Container.php.
ILIAS\DI\Container::portfolio | ( | ) |
Definition at line 355 of file Container.php.
ILIAS\DI\Container::rbac | ( | ) |
Get interface to get interfaces to all things rbac.
Definition at line 55 of file Container.php.
Referenced by ILIAS\Style\Content\InternalDomainService\__construct(), ILIAS\Mail\Provider\MailMainBarProvider\getStaticSubItems(), ILIAS\GlobalScreen\Provider\Provider\ChatMainBarProvider\getStaticSubItems(), and ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::refinery | ( | ) |
Definition at line 243 of file Container.php.
Referenced by InitCtrlService\init().
ILIAS\DI\Container::repository | ( | ) |
Definition at line 270 of file Container.php.
Referenced by ILIAS\Repository\Provider\RepositoryMainBarProvider\__construct().
ILIAS\DI\Container::repositoryTree | ( | ) |
Get interface to the repository tree.
Definition at line 87 of file Container.php.
Referenced by ILIAS\DI\Container\learningHistory(), and ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::resourceStorage | ( | ) |
Definition at line 265 of file Container.php.
ILIAS\DI\Container::rootFolder | ( | ) |
Definition at line 295 of file Container.php.
ILIAS\DI\Container::settings | ( | ) |
Get the interface to the settings.
Definition at line 135 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(), and ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::skills | ( | ) |
Definition at line 260 of file Container.php.
ILIAS\DI\Container::survey | ( | ) |
Definition at line 320 of file Container.php.
ILIAS\DI\Container::surveyQuestionPool | ( | ) |
Definition at line 325 of file Container.php.
ILIAS\DI\Container::systemStyle | ( | ) |
Definition at line 193 of file Container.php.
ILIAS\DI\Container::tabs | ( | ) |
Get interface to the tabs.
Definition at line 119 of file Container.php.
Referenced by ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies().
ILIAS\DI\Container::task | ( | ) |
Definition at line 237 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::taxonomy | ( | ) |
Definition at line 395 of file Container.php.
ILIAS\DI\Container::testQuestion | ( | ) |
Definition at line 330 of file Container.php.
ILIAS\DI\Container::toolbar | ( | ) |
Get interface to the toolbar.
Definition at line 111 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 127 of file Container.php.
Referenced by DashboardLayoutProvider\__construct(), ilMStListCompetencesGUI\__construct(), ilMMTopItemGUI\add(), ilMMTopItemGUI\create(), ilMMTopItemGUI\edit(), ILIAS\UI\examples\Layout\Page\Standard\getRenderedPage(), ILIAS\GlobalScreen\Provider\Provider\ChatMainBarProvider\getStaticSubItems(), ILIAS\MyStaff\Provider\StaffMainBarProvider\getStaticSubItems(), ILIAS\UI\examples\Layout\Page\Standard\getUIMainbarExampleCondensed(), ILIAS\UI\examples\Layout\Page\Standard\getUIMainbarExampleFull(), ilDataCollectionExportOptionsXLSX\init(), ILIAS\DI\Container\learningHistory(), 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 249 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 153 of file Container.php.
ILIAS\DI\Container::user | ( | ) |
Get the current user.
Definition at line 71 of file Container.php.
Referenced by ilAwarenessUserProviderApprovedContacts\__construct(), ilAwarenessUserProviderContactRequests\__construct(), ilNotificationGUI\__construct(), ILIAS\Mail\Provider\MailMainBarProvider\getStaticSubItems(), ILIAS\GlobalScreen\Provider\Provider\ChatMainBarProvider\getStaticSubItems(), ILIAS\Repository\Provider\RepositoryMainBarProvider\getStaticSubItems(), ilExportExportOptionXML\init(), ILIAS\DI\Container\learningHistory(), ILIAS\BackgroundTasks\Dependencies\DependencyMap\BaseDependencyMap\resolveBaseDependencies(), and ILIAS\DI\Container\task().
ILIAS\DI\Container::wiki | ( | ) |
Definition at line 310 of file Container.php.
ILIAS\DI\Container::workflowEngine | ( | ) |
Definition at line 335 of file Container.php.
|
private |
Definition at line 37 of file Container.php.
Referenced by ILIAS\DI\Container\fileServiceSettings().