ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilLearningHistoryEntry.php
Go to the documentation of this file.
1<?php
2
24{
25 protected string $achieve_text;
26 protected string $achieve_in_text;
27 protected string $icon_path;
28 protected int $ts;
29 protected int $obj_id;
30 protected int $ref_id;
31
32 public function __construct(
33 string $achieve_text,
34 string $achieve_in_text,
35 string $icon_path,
36 int $ts,
37 int $obj_id,
38 int $ref_id = 0
39 ) {
40 $this->achieve_text = $achieve_text;
41 $this->achieve_in_text = $achieve_in_text;
42 $this->icon_path = $icon_path;
43 $this->ts = $ts;
44 $this->obj_id = $obj_id;
45 $this->ref_id = $ref_id;
46 }
47
48 public function getTimestamp(): int
49 {
50 return $this->ts;
51 }
52
53 public function getObjId(): int
54 {
55 return $this->obj_id;
56 }
57
58 public function getRefId(): int
59 {
60 return $this->ref_id;
61 }
62
63 public function getAchieveText(): string
64 {
66 }
67
71 public function getAchieveInText(): string
72 {
74 }
75
76 public function getIconPath(): string
77 {
78 return $this->icon_path;
79 }
80}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(string $achieve_text, string $achieve_in_text, string $icon_path, int $ts, int $obj_id, int $ref_id=0)
getAchieveInText()
Get "achieve in ..." text.