Project

General

Profile

Actions

Bug #22521

closed

Hooks are not complete and could be better

Added by Patrick Broens over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-04-27
Due date:
% Done:

0%

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

Description

Problem:
Current hook implementation forces us to use a method "execute()", meaning one cannot implement multiple hooks without relying on multiple user classes. This is not great.

In addition, a hook is missing when writing information to localconf.php. It is possible to hook into stepoutput but not to add specific code to localconf.php (typically with DBAL), meaning the hook into steps is not as usable as it should be.

Solution:
- Rename method in hooks to be more specific (what I did with associated patch)
or
- Let user choose his own method name (could be even better)

(issue imported from #M14214)


Files

20100427_RFC_14214.diff (1.96 KB) 20100427_RFC_14214.diff Administrator Admin, 2010-04-27 08:47
Actions

Also available in: Atom PDF