Umfragen
iUser Interface Reference

must implementations for a user object More...

Inheritance diagram for iUser:
user LDAPuser MYSQLuser

Public Member Functions

 set_config ($name, $value)
 sets a config variable
 check_config ($name, $value)
 checks if a value can be set as specific config variable
 get_config ($name)
 gets a config variable
 save_config ($db)
 saves all content of the config into the database
 load_config ($db, $user)
 loads config from the database
 load_info ($au, $user)
 loads user infos from auth object
 load_info_ID ($au, $user)
 loads user infos from auth object

Detailed Description

must implementations for a user object

Definition at line 33 of file user.class.php.

Member Function Documentation

check_config (   $name,
  $value 
)

checks if a value can be set as specific config variable

Parameters
string$namevariable name
mixed$valuethe value we want check

Implemented in user.

get_config (   $name)

gets a config variable

Parameters
string$namevariable name
Returns
mixed the configuration

Implemented in user.

load_config (   $db,
  $user 
)

loads config from the database

Parameters
db$dbdatabase object
string$userthe username we want load

Implemented in user.

load_info (   $au,
  $user 
)

loads user infos from auth object

Parameters
auth$auauthentification object
string$userthe username we want load

Implemented in user.

load_info_ID (   $au,
  $user 
)

loads user infos from auth object

Parameters
auth$auauthentification object
string$useruser numerical ID

Implemented in user.

save_config (   $db)

saves all content of the config into the database

Parameters
db$dbdatabase object
Returns
bool true on succes, false if one database call went wrong

Implemented in user.

set_config (   $name,
  $value 
)

sets a config variable

Parameters
string$namevariable name
mixed$valuethe value we want set

Implemented in user.


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