ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilLearningHistoryFactory.php
Go to the documentation of this file.
1 <?php
2 
24 {
26 
27  public function __construct(ilLearningHistoryService $service)
28  {
29  $this->service = $service;
30  }
31 
35  public function entry(
36  string $achieve_text,
37  string $achieve_in_text,
38  string $icon_path,
39  int $ts,
40  int $obj_id,
41  int $ref_id = 0
43  return new ilLearningHistoryEntry($achieve_text, $achieve_in_text, $icon_path, $ts, $obj_id, $ref_id);
44  }
45 
50  {
51  return new ilLearningHistoryEntryCollector($this->service);
52  }
53 }
entry(string $achieve_text, string $achieve_in_text, string $icon_path, int $ts, int $obj_id, int $ref_id=0)
Create entry.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$ref_id
Definition: ltiauth.php:67
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilLearningHistoryService $service)