Dear All,
I am going through profile\actions\edit.php code and got confused bit since there is no update_metadata method used . Instead remove_metadata and create_metadata used . Can't I update using update_metadata method?
Could somebody throw some light on this ?
and also there is call to trigger_elgg_event('profileupdate',$user->type,$user); Can I what does this do? or any doc
Thanks for your help
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.
- Brett@brett.profitt
Brett - 0 likes
- bujji1@bujji1
bujji1 - 0 likes
You must log in to post replies.Metadata can be assigned on any ElggEntity object. Here are the docs for metadata: http://docs.elgg.org/wiki/Engine/DataModel/Metadata
The event is to allow other plugins and core to react to someone changing their profile. Here's docs for that: http://docs.elgg.org/wiki/Events
Thanks Brett