I have a entity called 'ElggRegion' , and save a metadata use this code:
$elggregion->depth = 1;
And my question is :
How do i write the where cause to select this region by depth in elgg1.8; just like this as normal:
'depth=1'
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.
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- yingfan@yingfan
yingfan - 0 likes
You must log in to post replies.use elgg_get_entities_from_metadata()
thanks,it just what i am looking for!!!