Project

General

Profile

Actions

Bug #21280

closed

Cleanup API for providers in status report

Added by Francois Suter over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2009-10-15
Due date:
% Done:

0%

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

Description

Currently the list of status providers for the status report is alongside the title, description and report properties in $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status'].

This makes it necessary to filter the title, description and report properties when looping over the status providers. This makes for messy code, hard to understand for developers. Furthermore it means that any new property added to reports must also be filtered out (like a custom icon, see 0012167).

I propose to move the list of status providers to a "providers" sub-array.

(issue imported from #M12245)


Files

rfc12245.diff (2.9 KB) rfc12245.diff Administrator Admin, 2009-10-15 21:25

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #21273: Improve the configuration API of the reports moduleClosedRupert Germann2009-10-14

Actions
Actions #1

Updated by Francois Suter over 14 years ago

Committed to trunk in revision 6153

Actions

Also available in: Atom PDF