Feature #38636
Feature #38629: Make TypoScript usable outside the context of TYPO3 / Nodes, but also for building extensible FLOW3 applications
Implement get() function to retrieve arbitrary objects via ObjectManager
Status: | Rejected | Start date: | 2012-07-04 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
At some points during rendering of standalone FLOW3 applications, it would be very helpful to access global state, by accessing singleton objects.
For instance, for the Blog example it would be helpful if the current blog could be fetched using TypoScript.
One way to do this would be ${get('TYPO3\Blog\Domain\Repository\BlogRepository').getActive()}
, or possibly also @${blogRepository.active}
Note that this feature still needs to be discussed thoroughly; I am not sure if w really want that
History
#1 Updated by Sebastian Kurfuerst almost 3 years ago
- Status changed from New to Rejected
really bad idea after sleeping over it :)