Project

General

Profile

Actions

Task #64341

closed

Add global getter class for $GLOBALS

Added by Andreas Kienast almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Category:
-
Target version:
-
Start date:
2015-01-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently, nearly every class implements its own getFoobar() method, which do the same. For example: getDatabaseConnection is implemented 44 times, always returning return $GLOBALS['TYPO3_DB'];

There should be a global class that implements such getters.

Actions

Also available in: Atom PDF