ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.DataFactory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
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)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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...