Project

General

Profile

Actions

Bug #50983

closed

Feature #49988: Backport ApplicationContext from Flow

Add public API to get ApplicationContext

Added by Steffen Müller over 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
Start date:
2013-08-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Application Context is initialized in Bootstrap. We need a public API to get the current context without using the bootstrap itself.

In Flow, the ObjectManager provides this API, but in TYPO3 CMS we do not have this kind of ObjectManager (except in extbase).

The API call is:

\TYPO3\CMS\Core\Utility\GeneralUtility::getContext();


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #52678: Rename API for ApplicationContextClosed2013-10-11

Actions
Actions

Also available in: Atom PDF