ILIAS  release_8 Revision v8.23
ILIAS\Awareness\Counter Class Reference

Counter DTO class. More...

+ Collaboration diagram for ILIAS\Awareness\Counter:

Public Member Functions

 __construct (int $cnt, int $highlight_cnt)
 
 getCount ()
 
 getHighlightCount ()
 

Protected Attributes

int $highlight_cnt
 
int $cnt
 

Detailed Description

Counter DTO class.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 25 of file class.Counter.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Awareness\Counter::__construct ( int  $cnt,
int  $highlight_cnt 
)

Definition at line 30 of file class.Counter.php.

References ILIAS\Awareness\Counter\$cnt, and ILIAS\Awareness\Counter\$highlight_cnt.

33  {
34  $this->cnt = $cnt;
35  $this->highlight_cnt = $highlight_cnt;
36  }

Member Function Documentation

◆ getCount()

ILIAS\Awareness\Counter::getCount ( )

Definition at line 38 of file class.Counter.php.

References ILIAS\Awareness\Counter\$cnt.

38  : int
39  {
40  return $this->cnt;
41  }

◆ getHighlightCount()

ILIAS\Awareness\Counter::getHighlightCount ( )

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

References ILIAS\Awareness\Counter\$highlight_cnt.

43  : int
44  {
45  return $this->highlight_cnt;
46  }

Field Documentation

◆ $cnt

int ILIAS\Awareness\Counter::$cnt
protected

◆ $highlight_cnt

int ILIAS\Awareness\Counter::$highlight_cnt
protected

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