Project

General

Profile

Actions

Feature #13579

closed

Hook Request for t3lib_db

Added by Thomas Maroschik over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2011-03-03
Due date:
% Done:

100%

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

Description

Hello Xavier,

for the introduction of uuid in TYPO3 I would need some hooks inside t3lib_DB.

Currently I need one after the code before return in

  • exec_INSERTquery
    • params: $this, $table, $fields_values
  • exec_INSERTmultipleRows
    • params: $this, $table
  • exec_DELETEquery
    • params: $this, $table

and one before the code in

  • INSERTquery
    • params: $this, $table, $field_values
  • INSERTmultipleRows
    • params: $this, $table, $fields, $rows
  • DELETEquery
    • params: $table, $where

It would be nice if the hooks would not just call functions, but would execute methods on a hook object. This is needed to keep some state between the hook methods. (see t3lib_tcemain).

Thanks in advance.

Tom


Files

13579.diff (13.4 KB) 13579.diff Xavier Perseguers, 2011-03-03 15:08

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #27954: Change usage of t3lib_DB->sql_pconnect to t3lib_DB->connectDBClosed2011-07-07

Actions
Actions

Also available in: Atom PDF