Feature #1676

FLOW3, Persistence: support for "magic finder methods"

Added by Bastian Waidelich 89 days ago. Updated 89 days ago.

Status:New Start:2008-10-11
Priority:Could have Due date:
Assigned to:- % Done:

0%

Category:-
Target version:-

Description

it would be great, if the base repository would offer interceptor methods returning a subset of stored objects based on properties.
This could look something like:

$customerRepository->findByName('Skårhøj');
returning an array of customer objects with the property "name" of "Skårhøj". And:
$customerRepository->findOneByName('Skårhøj');

to return the first matching object. And maybe something like:

$customerRepository->find($id);

to return a single object with a matching identifier property.

History

2008-10-11 11:10 - Bastian Waidelich

  • Project changed from TYPO3 CR to FLOW3

Also available in: Atom PDF