ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalDataService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Glossary;
22
24
26{
28
29 public function __construct()
30 {
31 $this->flashcard_factory = new Flashcard\DataFactory();
32 }
33
34 public function flashcardTerm(
35 int $term_id,
36 int $user_id,
37 int $glo_id,
38 int $box_nr,
39 ?string $last_access = null
40 ): Flashcard\Term {
41 return $this->flashcard_factory->term($term_id, $user_id, $glo_id, $box_nr, $last_access);
42 }
43
44 public function flashcardBox(
45 int $box_nr,
46 int $user_id,
47 int $glo_id,
48 ?string $last_access = null
49 ): Flashcard\Box {
50 return $this->flashcard_factory->box($box_nr, $user_id, $glo_id, $last_access);
51 }
52
53 public function settings(
54 int $id,
55 bool $online,
56 string $virtual,
57 bool $glo_menu_active,
58 string $pres_mode,
59 int $show_tax,
60 int $snippet_length,
61 bool $flash_active,
62 string $flash_mode
63 ): Settings {
64 return new Settings(
65 $id,
66 $online,
67 $virtual,
68 $glo_menu_active,
69 $pres_mode,
70 $show_tax,
71 $snippet_length,
72 $flash_active,
73 $flash_mode
74 );
75 }
76
77}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
flashcardBox(int $box_nr, int $user_id, int $glo_id, ?string $last_access=null)
flashcardTerm(int $term_id, int $user_id, int $glo_id, int $box_nr, ?string $last_access=null)
settings(int $id, bool $online, string $virtual, bool $glo_menu_active, string $pres_mode, int $show_tax, int $snippet_length, bool $flash_active, string $flash_mode)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...