An ElggCollection entity would store an ordered set of integers optimized for filtering and/or ordering SQL queries of entities, annotations, or other tables with integer primary keys.
Specification
Elgg Core Proposal: New Table “entity_list_items”
[This proposal has been superseded with ElggCollection.]
As of Elgg 1.7.4 there’s no way to specify a specific list or ordering of entities for use in an elgg_get_entities
query. E.g. one might want to implement:
- A “featured items” list for a group or user widget. On a group page this could be implemented in “left” and “right” lists for better display control
- “Sticky” entities in discussion lists, or any other object lists
- A “favorites” list for each user