Feature #32148
closedTask #33745: Integrate File Abstraction Layer
Integrate TCA Relation Service
0%
Description
Currently you need to resolve relations between TCA-tables yourself our use t3lib_loadDBGroup.
The interface for usage of load-db-group is not object-oriented designed, very hard to use, needs external preparation and knowledge about internals for usage.
To ease this up for developers add an "relation-service" for doing this in a more "object-orientated" way, with a single point of action.
In the first step this acts only as a wrapper for t3lib_loadDBgroup but in long term loaddbgroup should be migrated and reworked in a clean way into the the relation-service.
Updated by Mr. Jenkins almost 13 years ago
- Status changed from Accepted to Under Review
Patch set 1 of change I8d0cd3fa302683e952f600041dad66e8a4a237bc has been pushed to the review server.
It is available at http://review.typo3.org/6969
Updated by Mr. Jenkins almost 13 years ago
Patch set 2 of change I8d0cd3fa302683e952f600041dad66e8a4a237bc has been pushed to the review server.
It is available at http://review.typo3.org/6969
Updated by Mr. Jenkins almost 13 years ago
Patch set 3 of change I8d0cd3fa302683e952f600041dad66e8a4a237bc has been pushed to the review server.
It is available at http://review.typo3.org/6969
Updated by Oliver Hader almost 13 years ago
- Target version changed from 4.7.0-alpha1 to 4.7.0-alpha2
Updated by Gerrit Code Review almost 13 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6969
Updated by Gerrit Code Review almost 13 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6969
Updated by Gerrit Code Review almost 13 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6969
Updated by Gerrit Code Review almost 13 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6969
Updated by Gerrit Code Review almost 13 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6969
Updated by Steffen Ritter almost 13 years ago
there is now a test Extension availabe, which ships unittests and static Data for all relation variants definable via TCA: http://forge.typo3.org/projects/extension-tce_tutorial
Updated by Gerrit Code Review almost 13 years ago
Patch set 9 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/6969
Updated by Oliver Hader almost 13 years ago
- Target version changed from 4.7.0-alpha2 to 4.7.0-alpha3
Updated by Oliver Hader almost 13 years ago
- Subject changed from Add objective wrapper for ancient t3lib_loaddbgroup to Integrate TCA Relation Service
- Parent task set to #33745
Updated by Oliver Hader almost 13 years ago
The current implementation of the relation service is bound to table:field and optionally a table or field or any relation to be looked up. I think this is very complex for the basic scope of the service object. Thus, I'd like to suggest the following:
$service = new t3lib_tca_RelationService($table, $field);
$relation = $service->to($relatedTable, $relatedField);
$relatedRecods = $relation->getRecordsFor($record);
$relatedUids = $relation->getUidsFor($record);
So we have:
- t3lib_tca_RelationService
- t3lib_tca_Relation
Updated by Oliver Hader almost 13 years ago
- Status changed from Under Review to On Hold
In favor of a simple functionality, this is on hold and not a requirement for the file abstraction layer...
Updated by Steffen Ritter almost 13 years ago
- Target version changed from 4.7.0-alpha3 to 4.7.0-beta1
Updated by Steffen Ritter almost 13 years ago
- Target version deleted (
4.7.0-beta1)