Actions
Feature #24039
closedThe TYPO3 DB API can support mysql_fetch_object to retreive a record as a model object
Start date:
2010-11-12
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.5
Tags:
Complexity:
Sprint Focus:
Description
The current database API does not utilize the PHP function to retreive a record as a model object. The attached patch implements a t3lib_db->sql_fetch_object() method, which will allow for this functionallity
the mysql_fetch_object() function has similar functions for at least mssql and oracle as well as pdo.
(issue imported from #M16371)
Files
Updated by Mathias Schreiber almost 10 years ago
- Description updated (diff)
- Status changed from New to Accepted
- Target version changed from 0 to 7.0
- PHP Version changed from 5.2 to 5.5
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from 7.0 to 7.1 (Cleanup)
Updated by Benni Mack over 9 years ago
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Morton Jonuschat about 8 years ago
- Status changed from Accepted to Closed
- Target version set to 8.4
This has been solved in current TYPO3 8.3+ by using Doctrine, you can supply the constant PDO::FETCH_OBJ as mode to the `->fetch()` method and will get objects in return.
Actions