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 #1

Updated by Gerrit Code Review almost 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36095

Actions #2

Updated by Christian Kuhn almost 10 years ago

  • Status changed from Under Review to Rejected

This patch was abandoned.

Actions

Also available in: Atom PDF