Elgg
Version 1.11
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
actions
logout.php
Go to the documentation of this file.
1
<?php
9
// Log out
10
$result
=
logout
();
11
12
// Set the system_message as appropriate
13
if
(
$result
) {
14
system_message
(
elgg_echo
(
'logoutok'
));
15
forward
();
16
}
else
{
17
register_error
(
elgg_echo
(
'logouterror'
));
18
}
forward
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
Definition:
elgglib.js:419
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
$result
$result
Definition:
logout.php:10
system_message
elgg system_message
Wrapper function for system_messages.
Definition:
elgglib.js:374
logout
logout()
Log the current user out.
Definition:
sessions.php:372
register_error
elgg register_error
Wrapper function for system_messages.
Definition:
elgglib.js:383
Generated on Sat Dec 21 2024 00:00:48 for Elgg by
1.8.11