ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilLearningHistoryFactory Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilLearningHistoryFactory:

Public Member Functions

 __construct (ilLearningHistoryService $service)
 
 entry (string $achieve_text, string $achieve_in_text, string $icon_path, int $ts, int $obj_id, int $ref_id=0)
 Create entry. More...
 
 collector ()
 Entry collector. More...
 

Protected Attributes

ilLearningHistoryService $service
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Learning history factory

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

Definition at line 23 of file class.ilLearningHistoryFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ilLearningHistoryFactory::__construct ( ilLearningHistoryService  $service)

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

References $service.

28  {
29  $this->service = $service;
30  }

Member Function Documentation

◆ collector()

ilLearningHistoryFactory::collector ( )

Entry collector.

Definition at line 49 of file class.ilLearningHistoryFactory.php.

50  {
51  return new ilLearningHistoryEntryCollector($this->service);
52  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ entry()

ilLearningHistoryFactory::entry ( string  $achieve_text,
string  $achieve_in_text,
string  $icon_path,
int  $ts,
int  $obj_id,
int  $ref_id = 0 
)

Create entry.

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

References $ref_id.

43  return new ilLearningHistoryEntry($achieve_text, $achieve_in_text, $icon_path, $ts, $obj_id, $ref_id);
44  }
$ref_id
Definition: ltiauth.php:65
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Field Documentation

◆ $service

ilLearningHistoryService ilLearningHistoryFactory::$service
protected

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

Referenced by __construct().


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