Auth::checkAuth() Auth::getAuthData()

Auth

PEAR Manual


Auth::getAuth()

Auth::getAuth() -- check for an authenticated user

Synopsis

boolean Auth::getAuth ( )

Description

Check if the user has been authenticated.

Previously this function had a different behaviour to Auth::getAuth() but it is now just an alias.

Return value

boolean - If the user has already been authenticated, the function returns TRUE. Otherwise it returns FALSE.

Note

This function can not be called statically.



Auth::checkAuth() Auth::getAuthData()

Auth

PEAR Manual