eZ Publish  [trunk]
eZTextFileUser Class Reference

Handles logins for users defined a simple text file. More...

+ Inheritance diagram for eZTextFileUser:
+ Collaboration diagram for eZTextFileUser:

List of all members.

Public Member Functions

 eZTextFileUser ()

Static Public Member Functions

static loginUser ($login, $password, $authenticationMatch=false)

Detailed Description

Handles logins for users defined a simple text file.

The handler will read the users from the text file defined in textfile.ini, the file contains multiple users on separate lines. Each line is again separated by a field-separator (default is tab).

Once a login is requested by a user the handler will do one of two things:

  • Login the user with the existing user object found in the system
  • Creates a new user with the information found in the text file and login with that user.

Definition at line 26 of file eztextfileuser.php.


Member Function Documentation

Constructor

Definition at line 31 of file eztextfileuser.php.

static eZTextFileUser::loginUser ( login,
password,
authenticationMatch = false 
) [static]

Logs in the user if applied username and password is valid. The userID is returned if succesful, false if not.

Reimplemented from eZUser.

Definition at line 40 of file eztextfileuser.php.


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