Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
ECASLogoff Class Reference
Inheritance diagram for ECASLogoff:
mModule

Public Member Functions

 __construct ($config)
 canProcessRequest ()
 hasUpdatedConfiguration ()

Protected Member Functions

 onInitialize ()
 onExecute ()

Protected Attributes

 $auth = false

Constructor & Destructor Documentation

__construct ( config)

Constructor: Construct an iAuthentication object

Reimplemented from mModule.


Member Function Documentation

Process requests containing the "logoff" argument

Reimplemented from mModule.

If the modules modifies the configuration, this method should return true to allow the caller application to modify the configuration file

Returns:
bool

Reimplemented from mModule.

onExecute ( ) [protected]

In the logoff module, the code is terminated right after the onInitialize method(which is in allcase redirecting the user) This method is therefore ne ver called (it must still be implemented as it is an abstract method of the parent class)

Reimplemented from mModule.

onInitialize ( ) [protected]

OnInitialisation, check if a session is already established. If yes, terminates it (it then redirects to the homepage but this is a behaviour of the iAuthentication implementation) Otherwise, just return to the homepage of the application

Start the HTTP session, WITHOUT requesting authentication

If a session is established, closes it

Else, go back to the home page

Reimplemented from mModule.


Field Documentation

MetaNull::Commission::EC_Authentication $auth = false [protected]

The Authentication object


The documentation for this class was generated from the following file: