ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.DataFactory.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Glossary\Flashcard;
22 
27 {
28  public function __construct()
29  {
30  }
31 
32  public function term(
33  int $term_id,
34  int $user_id,
35  int $glo_id,
36  int $box_nr,
37  ?string $last_access = null
38  ): Term {
39  return new Term($term_id, $user_id, $glo_id, $box_nr, $last_access);
40  }
41 
42  public function box(
43  int $box_nr,
44  int $user_id,
45  int $glo_id,
46  ?string $last_access = null
47  ): Box {
48  return new Box($box_nr, $user_id, $glo_id, $last_access);
49  }
50 }
term(int $term_id, int $user_id, int $glo_id, int $box_nr, ?string $last_access=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: class.Box.php:21
box(int $box_nr, int $user_id, int $glo_id, ?string $last_access=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...