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

Martin Kutschker masi-no at spam-typo3.org
Mon Nov 15 13:27:20 CET 2010


Am 15.11.2010 11:58, schrieb Lieuwe Hummel:
> 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.

Shouldn't the class name be resolved by t3lib_div::makeInstanceClassName() first? If yes, this means
the deprecation of that function must be revoked.

Masi


More information about the TYPO3-team-core mailing list