In Elgg 3.X how do you get entites based on metadata values.
Lets say my entitities are made like the following:
$object = new ElggObject();
$object->subtype = "user_status";
$object->status = "active;
$object->count = 5;
$object->approved = "yes";
$object->access_id = 2;
$object->save();
I only want to get entities based on the following logic.
count > 3
status = "notactive"
approved = "yes"
How would this be done?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- iionly@iionly
iionly - 0 likes
- adrew22a@drew22a
adrew22a - 0 likes
You must log in to post replies.This works flawless, thank you iionly!