Opened 14 months ago
Last modified 12 months ago
#4436 new Feature Request
general callback function to just get entity guids
| Reported by: | coldtrick | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | Near Term Future Release |
| Component: | Core | Version: | 1.8 |
| Severity: | trivial | Keywords: | callback, entities |
| Cc: | brett@… | Difficulty: | easy |
Description
It would be nice if there was a general callback function for elgg_get_entities*() which just returns the guids.
If we want to do this now, every plugin would have to write their own callback function. Maybe this could be something for core?
function name something like entity_row_to_guid()???
Change History (2)
comment:1 Changed 14 months ago by brettp
- Difficulty set to easy
- Priority changed from normal to low
- Severity changed from minor to trivial
comment:2 Changed 12 months ago by ewinslow
- Milestone changed from Needs Review to Near Term Future Release
Note: See
TracTickets for help on using
tickets.

I've used this often enough to reluctantly agree. Looking at the use cases:
I'm reluctant because I think the need to do this speaks somewhat to limitations in the current data model and helper functions.