ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ILIAS\Help\InternalRepoService Class Reference
+ Collaboration diagram for ILIAS\Help\InternalRepoService:

Public Member Functions

 __construct (InternalDataService $data, \ilDBInterface $db)
 
 guidedTour ()
 
 map ()
 
 tooltips ()
 
 module ()
 

Protected Attributes

InternalDataService $data
 
ilDBInterface $db
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Help\InternalRepoService::__construct ( InternalDataService  $data,
\ilDBInterface  $db 
)

Definition at line 34 of file class.InternalRepoService.php.

35 {
36 $this->data = $data;
37 $this->db = $db;
38 }

References ILIAS\Help\InternalRepoService\$data, and ILIAS\Help\InternalRepoService\$db.

Member Function Documentation

◆ guidedTour()

ILIAS\Help\InternalRepoService::guidedTour ( )

Definition at line 40 of file class.InternalRepoService.php.

41 {
42 return self::$instance["guided"] ??= new GuidedTour\InternalRepoService(
43 $this->data->guidedTour(),
44 $this->db
45 );
46 }

◆ map()

ILIAS\Help\InternalRepoService::map ( )

Definition at line 48 of file class.InternalRepoService.php.

48 : MapDBRepository
49 {
50 return new MapDBRepository($this->db);
51 }

◆ module()

ILIAS\Help\InternalRepoService::module ( )

Definition at line 58 of file class.InternalRepoService.php.

58 : ModuleDBRepository
59 {
60 return new ModuleDBRepository($this->db);
61 }

◆ tooltips()

ILIAS\Help\InternalRepoService::tooltips ( )

Definition at line 53 of file class.InternalRepoService.php.

53 : TooltipsDBRepository
54 {
55 return new TooltipsDBRepository($this->db);
56 }

Field Documentation

◆ $data

InternalDataService ILIAS\Help\InternalRepoService::$data
protected

◆ $db

ilDBInterface ILIAS\Help\InternalRepoService::$db
protected

◆ $instance

array ILIAS\Help\InternalRepoService::$instance = []
staticprotected

Definition at line 32 of file class.InternalRepoService.php.


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