references:joomla.framework:application:japplication-logoutlogout
Logout authentication method. This method passes the current user information to the onLogoutUser event and reverts the current session record back to ‘anonymous’ parameters. Syntaxvoid logout () ExamplesExample if ($mainframe->logout()) { echo "User logged out."; } else { echo "User could not be logged out."; } might produce Result User logged out. |


