Class User

Description

Located in /karibou2/class/user.class.php (line 17)


	
			
Direct descendents
Class Description
CurrentUser L'utilisateur courant
Variable Summary
String $email
String $firstname
Array $groups
mixed $grouptree
Int $id
String $lastname
String $login
String $surname
Method Summary
User __construct (mixed $tab, Int $id, String $login, String $lastname, String $firstname, String $surname, String $email, String $picture)
String afficheUser ([mixed $debug = FALSE])
void getAllAdminGroups (PDO $db)
void getAllGroups (PDO $db)
String getDisplayName ()
String getEmail ()
String getFirstname ()
void getFullName ()
void getGroups (PDO $db)
void getGroupTreeAdminQuery ([mixed $cols = "id"])
void getGroupTreeQuery ([mixed $cols = "id"])
Int getID ()
String getLastname ()
String getLogin ()
String getPicturePath ()
Int getProfileId ()
String getSurname ([mixed $debug = FALSE])
String getUserLink ()
void isInGroup (PDO $db, mixed $groupid)
void setFromTab (mixed $tab)
Variables
String $email (line 52)
  • access: protected
String $firstname (line 42)
  • access: protected
Array $groups = FALSE (line 57)
  • access: protected
mixed $grouptree = FALSE (line 58)
  • access: protected
mixed $grouptreeadmin = FALSE (line 59)
  • access: protected
Int $id (line 22)
  • access: protected
String $lastname (line 37)
  • access: protected
String $login (line 32)
  • access: protected
Int $profile_id (line 27)
  • access: protected
String $surname (line 47)
  • access: protected
Methods
Constructor __construct (line 70)
User __construct (mixed $tab, Int $id, String $login, String $lastname, String $firstname, String $surname, String $email, String $picture)
  • Int $id
  • String $login
  • String $lastname
  • String $firstname
  • String $surname
  • String $email
  • String $picture

Redefined in descendants as:
afficheUser (line 159)

...temp method replaced by getFullName()

String afficheUser ([mixed $debug = FALSE])
getAllAdminGroups (line 426)
void getAllAdminGroups (PDO $db)
getAllGroups (line 344)
void getAllGroups (PDO $db)
getDisplayName (line 219)
String getDisplayName ()
getEmail (line 210)

Retourne l email du user instancié

String getEmail ()
getFirstname (line 111)
String getFirstname ()
getFullName (line 245)

$firstname $lastname

void getFullName ()
getGroups (line 274)
void getGroups (PDO $db)
  • PDO $db
getGroupTreeAdminQuery (line 407)
void getGroupTreeAdminQuery ([mixed $cols = "id"])
getGroupTreeQuery (line 322)
void getGroupTreeQuery ([mixed $cols = "id"])
getGroupTreeWhereAdminArray (line 391)
void getGroupTreeWhereAdminArray ()
getGroupTreeWhereArray (line 308)
void getGroupTreeWhereArray ()
getID (line 191)

Retourne l id du user instancié

Int getID ()
getLastname (line 96)
String getLastname ()
getLogin (line 200)

Retourne l id du user instancié

String getLogin ()
getPicturePath (line 142)
String getPicturePath ()
getProfileId (line 127)
Int getProfileId ()
getSurname (line 173)
String getSurname ([mixed $debug = FALSE])
getUserLink (line 265)

... temp method replaced by getDisplayName()

String getUserLink ()
isInGroup (line 375)
void isInGroup (PDO $db, mixed $groupid)
setFromTab (line 78)
  • access: public
void setFromTab (mixed $tab)

Documentation generated on Sat, 17 Feb 2007 02:55:20 +0100 by phpDocumentor 1.3.0RC3