Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
Ilias3ConnectedUser Class Reference
Inheritance diagram for Ilias3ConnectedUser:
Inheritance graph
Collaboration diagram for Ilias3ConnectedUser:
Collaboration graph

Public Member Functions

 Ilias3ConnectedUser ($cms, $user_id=false)
 readData ()
 getLoginData ($username)
 getCryptedPassword ($password)
 setRoles ($role_array)
 getRoles ()
 newUserCategory ()
 newUser ($ignore_encrypt_passwords=false)
 updateUser ()
 deleteUser ()
 setConnection ($user_type, $ignore_encrypt_passwords=false)
 getSID ()
 getSessionId ()
- Public Member Functions inherited from ConnectedUser
 ConnectedUser ($cms, $user_id=false)
 getStudipUserData ()
 newUser ()
 getLoginData ()
 getId ()
 getStudipId ()
 getUsername ()
 setUsername ($user_login)
 getPassword ()
 setPassword ($user_password)
 getCategory ()
 setCategory ($user_category)
 verifyLogin ($username, $password)
 getGender ()
 setGender ($user_gender)
 getName ()
 getFirstname ()
 setFirstname ($user_firstname)
 getLastname ()
 setLastname ($user_lastname)
 getEmail ()
 setEmail ($user_email)
 getUserType ()
 setUserType ($user_type)
 setConnection ($user_type)
 isConnected ()

Data Fields

 $roles
 $user_sid
- Data Fields inherited from ConnectedUser
 $cms_type
 $id
 $studip_id
 $studip_login
 $studip_password
 $login
 $external_password
 $category
 $gender
 $title_front
 $title_rear
 $title
 $firstname
 $lastname
 $institution
 $department
 $street
 $city
 $zipcode
 $country
 $phone_home
 $fax
 $matriculation
 $email
 $type
 $is_connected
 $db_class

Member Function Documentation

deleteUser ( )

delete user

delete user-account public

Returns
boolean returns false on error

Reimplemented from ConnectedUser.

getCryptedPassword (   $password)

get crypted password

returns ILIAS 3 password public

Parameters
string$passwordpassword
Returns
string password

Reimplemented from ConnectedUser.

Here is the caller graph for this function:

getLoginData (   $username)

get login-data

gets login-data from database public

Parameters
string$usernameusername
Returns
boolean returns false, if no data was found
getRoles ( )

get roles

returns roles public

Returns
array roles
getSessionId ( )

get session-id

returns soap-session-id public

Returns
string soap-session-id

Here is the call graph for this function:

getSID ( )

get sid

returns soap-sid public

Returns
string soap-sid

Here is the caller graph for this function:

Ilias3ConnectedUser (   $cms,
  $user_id = false 
)

constructor

init class.

Parameters
string$cmssystem-type

Here is the call graph for this function:

Here is the caller graph for this function:

newUser (   $ignore_encrypt_passwords = false)

new user

save new user public

Returns
boolean returns false on error

Here is the call graph for this function:

newUserCategory ( )

create new user category

create new user category public

Returns
boolean returns false on error

Reimplemented in Ilias4ConnectedUser.

Here is the call graph for this function:

readData ( )

get data

gets data from database public

Returns
boolean returns false, if no data was found

Reimplemented from ConnectedUser.

Here is the caller graph for this function:

setConnection (   $user_type,
  $ignore_encrypt_passwords = false 
)

set connection

set user connection public

Parameters
stringuser_type user-type
Returns
boolean returns false on error

Here is the call graph for this function:

Here is the caller graph for this function:

setRoles (   $role_array)

set roles

sets roles public

Parameters
array$role_arrayrole-array
updateUser ( )

update user

update user-account public

Returns
boolean returns false on error

Reimplemented from ConnectedUser.

Field Documentation

$roles
$user_sid

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