Project

General

Profile

Actions

Feature #34283

closed

Task #33745: Integrate File Abstraction Layer

IRRE - Possibility to render custom header controls

Added by Oliver Hader about 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-02-25
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

Render custom header controls by using a render function
defined in TCA field configuration customControls/userFunc

Actions #1

Updated by Gerrit Code Review about 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9207

Actions #2

Updated by Gerrit Code Review about 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9207

Actions #3

Updated by Gerrit Code Review about 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9207

Actions #4

Updated by Georg Ringer about 12 years ago

I would propose this change.

simplify the api by using $customControlConfig directly as input for t3lib_div::callUserFunction(). a call would then look like

'customControls' => array(
    'fo' => 'EXT:news/Classes/Hooks/Test.php:Tx_News_Hooks_Test->user_fo',
),

instead of
'customControls' => array(
    'fo' => array(
        'userFunc' => 'EXT:news/Classes/Hooks/Test.php:Tx_News_Hooks_Test->user_fo'
    ),
),

you see this is much easier.

customControlConfig is IMO not needed inside the hook because $config is added which includes the customcontrols too.

Actions #5

Updated by Ingmar Schlecht about 12 years ago

Good point, makes sense.

Actions #6

Updated by TYPO3 Release Team about 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF