Feature #34283

Task #33745: Integrate File Abstraction Layer

IRRE - Possibility to render custom header controls

Added by Oliver Hader about 9 years ago. Updated over 3 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

#1

Updated by Gerrit Code Review about 9 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

#2

Updated by Gerrit Code Review about 9 years ago

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

#3

Updated by Gerrit Code Review about 9 years ago

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

#4

Updated by Georg Ringer about 9 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.

#5

Updated by Ingmar Schlecht about 9 years ago

Good point, makes sense.

#6

Updated by TYPO3 Release Team about 9 years ago

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

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF