ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTestSkillPointAccount Class Reference
+ Collaboration diagram for ilTestSkillPointAccount:

Public Member Functions

 __construct ()
 
 addBooking ($max_skill_points, $reached_skill_points)
 
 getTotalMaxSkillPoints ()
 
 getTotalReachedSkillPoints ()
 
 getNumBookings ()
 
 getTotalReachedSkillPercent ()
 

Private Attributes

 $totalMaxSkillPoints
 
 $totalReachedSkillPoints
 
 $numBookings
 

Detailed Description

Definition at line 27 of file class.ilTestSkillPointAccount.php.

Constructor & Destructor Documentation

◆ __construct()

ilTestSkillPointAccount::__construct ( )

Definition at line 35 of file class.ilTestSkillPointAccount.php.

36 {
37 $this->totalMaxSkillPoints = 0;
38 $this->totalReachedSkillPoints = 0;
39
40 $this->numBookings = 0;
41 }

Member Function Documentation

◆ addBooking()

ilTestSkillPointAccount::addBooking (   $max_skill_points,
  $reached_skill_points 
)

Definition at line 43 of file class.ilTestSkillPointAccount.php.

43 : void
44 {
45 $this->totalMaxSkillPoints += $max_skill_points;
46 $this->totalReachedSkillPoints += $reached_skill_points;
47
48 $this->numBookings++;
49 }

◆ getNumBookings()

ilTestSkillPointAccount::getNumBookings ( )

Definition at line 61 of file class.ilTestSkillPointAccount.php.

References $numBookings.

Referenced by ilTestSkillEvaluation\doesNumBookingsExceedRequiredBookingsBarrier().

+ Here is the caller graph for this function:

◆ getTotalMaxSkillPoints()

ilTestSkillPointAccount::getTotalMaxSkillPoints ( )

Definition at line 51 of file class.ilTestSkillPointAccount.php.

References $totalMaxSkillPoints.

Referenced by getTotalReachedSkillPercent().

+ Here is the caller graph for this function:

◆ getTotalReachedSkillPercent()

ilTestSkillPointAccount::getTotalReachedSkillPercent ( )

Definition at line 66 of file class.ilTestSkillPointAccount.php.

References getTotalMaxSkillPoints(), and getTotalReachedSkillPoints().

+ Here is the call graph for this function:

◆ getTotalReachedSkillPoints()

ilTestSkillPointAccount::getTotalReachedSkillPoints ( )

Definition at line 56 of file class.ilTestSkillPointAccount.php.

References $totalReachedSkillPoints.

Referenced by getTotalReachedSkillPercent().

+ Here is the caller graph for this function:

Field Documentation

◆ $numBookings

ilTestSkillPointAccount::$numBookings
private

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

Referenced by getNumBookings().

◆ $totalMaxSkillPoints

ilTestSkillPointAccount::$totalMaxSkillPoints
private

Definition at line 29 of file class.ilTestSkillPointAccount.php.

Referenced by getTotalMaxSkillPoints().

◆ $totalReachedSkillPoints

ilTestSkillPointAccount::$totalReachedSkillPoints
private

Definition at line 31 of file class.ilTestSkillPointAccount.php.

Referenced by getTotalReachedSkillPoints().


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