[TYPO3-core] RFC: feature #16371: support for mysql_fetch_object to retreive a record as a model object

Lieuwe Hummel l.hummel at drecomm.nl
Mon Nov 15 11:58:07 CET 2010


This is an SVN patch request.

Type: New feature

Bugtracker references:
http://bugs.typo3.org/view.php?id=16371

Branches:
Trunk

Problem:
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 
functionality.

Solution:
Suggested solution is to apply the attached patch

Note:
the mysql_fetch_object() function has similar functions for at least 
mssql and oracle as well as PDO.

Regards,


Lieuwe Hummel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: feature-16371.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101115/6f5036ca/attachment.txt>


More information about the TYPO3-team-core mailing list