16 'property_type' =>
'metadata',
20 'fields' => [
'metadata' => [
'name',
'username']],
44 $options[
'metadata_name_value_pairs'][] = [
canEdit($user_guid=0)
Can a user edit this entity?
elgg_list_entities(array $options=[], $getter= 'elgg_get_entities', $viewer= 'elgg_view_entity_list')
Returns a string of rendered entities.
elgg_view_page($title, $body, $page_shell= 'default', $vars=[])
Assembles and outputs a full page.
Thrown when entity can not be edited or container permissions do not allow it to be written...
if(elgg_extract('friends_only', $vars, false)) if(!(bool) elgg_extract('include_banned', $vars, true)) $body
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_gatekeeper()
Used at the top of a page to mark it as logged in users only.
elgg echo
Translates a string.
elgg_get_logged_in_user_entity()
Return the current logged in user, or null if no user is logged in.
elgg_get_config($name, $default=null)
Get an Elgg configuration value.
get_entity($guid)
Loads and returns an entity object from a guid.