Stud.IP  jlu_3.3 Revision
Score Class Reference
Collaboration diagram for Score:
Collaboration graph

Public Member Functions

 Score ($user_id)
 
 GetGender ($user_id)
 
 PublishScore ()
 
 KillScore ()
 
 ReturnMyScore ()
 
 ReturnMyTitle ()
 
 ReturnPublik ()
 
 GetScore ($user_id)
 
 CheckScore ($user_id)
 
 doRefreshScoreContentCache ()
 
 GetScoreContent ($user_id)
 
 gettitel ($score, $gender=0)
 
 GetMyScore ($user_id=null)
 

Data Fields

 $score
 
 $publik
 
 $title
 
 $myscore
 
 $mygender
 
 $score_content_cache = null
 
const MEASURING_STEP = 1800
 

Protected Member Functions

 createTimestampQuery ()
 
 getActivityTables ()
 

Member Function Documentation

◆ CheckScore()

CheckScore (   $user_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createTimestampQuery()

createTimestampQuery ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ doRefreshScoreContentCache()

doRefreshScoreContentCache ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getActivityTables()

getActivityTables ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetGender()

GetGender (   $user_id)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMyScore()

GetMyScore (   $user_id = null)

Retrieves the score for the current user

Returns
integer the score
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetScore()

GetScore (   $user_id)
Here is the call graph for this function:

◆ GetScoreContent()

GetScoreContent (   $user_id)
Parameters
md5$user_id
Here is the call graph for this function:

◆ gettitel()

gettitel (   $score,
  $gender = 0 
)

Retrieves the titel for a given studip score

Parameters
integera score value
integergender (0: unknown, 1: male; 2: female)
Returns
string the titel
Here is the caller graph for this function:

◆ KillScore()

KillScore ( )
Here is the call graph for this function:

◆ PublishScore()

PublishScore ( )
Here is the call graph for this function:

◆ ReturnMyScore()

ReturnMyScore ( )

◆ ReturnMyTitle()

ReturnMyTitle ( )

◆ ReturnPublik()

ReturnPublik ( )

◆ Score()

Score (   $user_id)
Here is the call graph for this function:

Field Documentation

◆ $mygender

$mygender

◆ $myscore

$myscore

◆ $publik

$publik

◆ $score

$score

◆ $score_content_cache

$score_content_cache = null

◆ $title

◆ MEASURING_STEP

const MEASURING_STEP = 1800

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