[TYPO3-core] RFC #13467: add getField() function to database API

Felix Oertel post at typo3felix.de
Thu Feb 18 13:06:27 CET 2010


#REMINDER 1

Am 08.02.10 18:35, schrieb Felix Oertel:
> Hi guys,
>
> this is a SVN patch request.
>
> Type: Feature
>
> Bugtracker references: http://bugs.typo3.org/view.php?id=13467
>
> Branches: Trunk
>
> Problem:
> Often some wants to get a single-value, like a name or a label or
> something. We have to getRows() and then care for the resolvement ourself.
>
> I'd like to get a function getField() which returns the value of the
> given field as a string.
>
> Solution:
> build one ;-)
>
> Testcase:
> I attached a userFunc-PHP you can use from fileadmin/ to test the new
> exec_SELECTgetField()-function giving you the title of your page
> matching pid=0.
>
> Regards, Felix
> typo3felix.de
>
>


More information about the TYPO3-team-core mailing list