35 if (!
$user->canEdit()) {
43 action(
"$plugin_id/usersettings/save");
elgg_action_exists($action)
Check if an action is registered and its script exists.
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg system_message
Wrapper function for system_messages.
elgg register_error
Wrapper function for system_messages.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.
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.
if(!($plugin instanceof ElggPlugin)) $plugin_name