35 if (!
$user->canEdit()) {
43 action(
"$plugin_id/usersettings/save");
if(!($plugin instanceof ElggPlugin)) $plugin_name
elgg_action_exists($action)
Check if an action is registered and its script exists.
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.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_get_plugin_from_id($plugin_id)
Returns an ElggPlugin object with the path $path.
get_entity($guid)
Loads and returns an entity object from a guid.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.
elgg button elgg button action