ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FactoryInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=0);
20
22
23use ilDateTime;
32
34{
35 public function iterator(): IteratorFactoryInterface;
36
37 public function lp(
38 int $user_id,
39 int $object_id,
40 int $lp_status,
41 int $percentage,
42 int $lp_mode,
43 int $spent_seconds,
44 ilDateTime $status_changed,
45 int $visits,
46 int $read_count,
47 bool $has_percentage
48 ): LPInfoInterface;
49
50 public function combined(
51 LPinfoInterface $lp_info,
52 ObjectDataInfoInterface $object_data_info
53 ): CombinedInfoInterface;
54
55 public function objectData(
56 int $object_id,
57 string $title,
58 string $description,
59 string $type
60 ): ObjectDataInfoInterface;
61
62 public function view(
63 ObjectDataIteratorInterface $object_data_iterator,
64 LPIteratorInterface $lp_iterator,
65 CombinedIteratorInterface $combined_iterator
66 ): ViewInfoInterface;
67}
@classDescription Date and time handling
objectData(int $object_id, string $title, string $description, string $type)
combined(LPinfoInterface $lp_info, ObjectDataInfoInterface $object_data_info)
lp(int $user_id, int $object_id, int $lp_status, int $percentage, int $lp_mode, int $spent_seconds, ilDateTime $status_changed, int $visits, int $read_count, bool $has_percentage)
view(ObjectDataIteratorInterface $object_data_iterator, LPIteratorInterface $lp_iterator, CombinedIteratorInterface $combined_iterator)