59 if ($new_user->enabled ==
"yes") {
68 if (
$session->has(
'last_forward_from')) {
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_get_site_entity($site_guid=0)
Get an entity (default is current site)
if(!$entity->delete()) $forward_url
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_get_session()
Gets Elgg's session object.
$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_set_ignore_access($ignore=true)
Set if Elgg's access system should be ignored.
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
elgg system_message
Wrapper function for system_messages.
elgg register_error
Wrapper function for system_messages.
login(\ElggUser $user, $persistent=false)
Logs in a specified .
get_entity($guid)
Loads and returns an entity object from a guid.