How i can add an Sql like to elgg_get_entities_from_metadata
sample of metadata_value = '%name_%'
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.
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- bouguima@bouguima001
bouguima - 0 likes
You must log in to post replies.elgg_get_entities_from_metadata(array(
'type' => 'object',
'subtype' => 'mysubtype',
'metadata_name_value_pairs' => array(
'name' => 'metadata_name',
'value' => '%name_%',
'operand' => 'LIKE',
'case_sensitive' => false
)
));
http://reference.elgg.org/engine_2lib_2metadata_8php.html#aec4b6f0b9565e3554acb9b39ef34a2ac
great thanks