if(! $collection_name) $id
register_error($error)
Display an error on next page load.
system_message($message)
Display a system message on next page load.
forward($location="", $reason='system')
Forward to $location.
update_access_collection($collection_id, $members)
Updates the membership in an access collection.
create_access_collection($name, $owner_guid=0, $site_guid=0)
Creates a new access collection.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_get_logged_in_user_entity()
Return the current logged in user, or null if no user is logged in.