SwimmPair-Www v1.0
PHP Model of SwimmPair web application
Loading...
Searching...
No Matches
User Class Reference
Collaboration diagram for User:
Collaboration graph

Public Member Functions

 __construct ($id, $first_name, $last_name, $email, $approved_flag, $rights, $referee_rank_id, $affiliation_club_id)
 
 SerializeFull ()
 
 SerializeSlim ()
 
 SerializeTag ()
 

Public Attributes

 $id
 
 $first_name
 
 $last_name
 
 $email
 
 $approved_flag
 
 $rights
 
 $referee_rank_id
 
 $affiliation_club_id
 

Detailed Description

User is referee in the system. User is affiliated to Club has one of UserRights and one of tier from RefereeRank. His statistics are presented via StatUserCnt in public sites via PositionsManager.

Constructor & Destructor Documentation

◆ __construct()

User::__construct (   $id,
  $first_name,
  $last_name,
  $email,
  $approved_flag,
  $rights,
  $referee_rank_id,
  $affiliation_club_id 
)

Ctor of User object for web application

Parameters
int$id
string$first_name
string$last_name
string$email
bool$approved_flag
int$rights
int$referee_rank_id
int$affiliation_club_id

Member Function Documentation

◆ SerializeFull()

User::SerializeFull ( )

Serialize outputs 8/8 these members: id, first_name, last_name, email, approved_flag, rights, referee_rank_id, affiliation_club_id

Returns
string

◆ SerializeSlim()

User::SerializeSlim ( )

Serialize outputs 5/8 these members: id, first_name, last_name, -N/A-, -N/A-, -N/A-, referee_rank_id, affiliation_club_id

Returns
string

◆ SerializeTag()

User::SerializeTag ( )

Serialize outputs 2/8 these members: -NULL-, first_name, last_name, -NULL-, -NULL-, -NULL-, -NULL-, -NULL-

Returns
string

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