How would I display the access level a users has set for an object?
Like if a user uploads a picture and set it to Public how can I display the word "Public" under the picture?
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.
In 1.7 use get_readable_access_level($entity->access_id).
In 1.8 use elgg_view('output/access', array('entity' => $entity)).
@ all thanks
@ brett
what like
@stuartsloan - Yep.
@ Brett
Thanks! a bunch! I really appreciate the elgg community.
- Previous
- 1
- 2
- Next
You must log in to post replies.