Feature #38773
closedAdd Category Collection
100%
Description
Category should make use of the Collection API as a cornerstone for fetching and storing records related to a category. The Abstract Collection object implements various PHP Interfaces such as Iterator, Serializable, Countable , etc... that the Collection Category will inherit.
Updated by Fabien Udriot almost 12 years ago
- Subject changed from Add Collection support for Category to Add Category Collection
Updated by Fabien Udriot almost 12 years ago
Current implementation enables to write:
$collection = t3lib_div::makeInstance( 't3lib_category_Collection_CategoryCollection', 'tt_content' ); $collection->setIdentifier(4); // would be a category uid = 4 $collection->loadContents(); // would load the items $collection->getItems(); // would return all tt_content items categorized by category.uid = 4 $collection->rewind(); // would set the cursor at the beginning $item = $collection->current(); // would return the first item of the collection
Updated by Gerrit Code Review almost 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12791
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12791
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12791
Updated by Gerrit Code Review almost 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12791
Updated by Gerrit Code Review over 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12791
Updated by Fabien Udriot over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2f03297c7c48f01e1cd19d2520e7fcd1c80515b5.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed