Consider using ElggBatch automatically with getter funtions
|Reported by:||ewinslow||Owned by:|
That is, I want to be able to say elgg_get_entities(array('limit' => 'whatever')); and have that work w/out oom errors and without doing any extra fancies like "new ElggBatch".
Since ElggBatch expects these functions, we might run into a chicken and egg problem, but the solution would be to rename the current functions to something else and then elgg_get_entities* would simply be wrappers that use ElggBatch on these new functions.
Good idea? Bad idea?