59 if ($new_user->enabled ==
"yes") {
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_get_site_entity($site_guid=0)
Get an ElggSite entity (default is current site)
$guid
Removes an admin notice.
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
register_user($username, $password, $name, $email, $allow_multiple_emails=false)
Registers a user, returning false if the username already exists.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_set_ignore_access($ignore=true)
Set if Elgg's access system should be ignored.
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
Trigger a Plugin Hook and run all handler callbacks registered to that hook:type. ...
login(ElggUser $user, $persistent=false)
Logs in a specified ElggUser.
elgg system_message
Wrapper function for system_messages.
elgg register_error
Wrapper function for system_messages.
get_entity($guid)
Loads and returns an entity object from a guid.