ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Wiki\InternalRepoService Class Reference

Wiki repo service. More...

+ Collaboration diagram for ILIAS\Wiki\InternalRepoService:

Public Member Functions

 __construct (protected InternalDataService $data, protected \ilDBInterface $db)
 
 page ()
 
 importantPage ()
 
 missingPage ()
 
 settings ()
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

Wiki repo service.

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

Constructor & Destructor Documentation

◆ __construct()

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

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

38  {
39  }

Member Function Documentation

◆ importantPage()

ILIAS\Wiki\InternalRepoService::importantPage ( )

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

49  : ImportantPageDBRepository
50  {
51  return self::$instance["imp_page"] ??= new ImportantPageDBRepository(
52  $this->data,
53  $this->db
54  );
55  }

◆ missingPage()

ILIAS\Wiki\InternalRepoService::missingPage ( )

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

57  : MissingPageDBRepository
58  {
59  return self::$instance["missing_page"] ??= new MissingPageDBRepository(
60  $this->data,
61  $this->db
62  );
63  }

◆ page()

ILIAS\Wiki\InternalRepoService::page ( )

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

41  : PageDBRepository
42  {
43  return self::$instance["page"] ??= new PageDBRepository(
44  $this->data,
45  $this->db
46  );
47  }

◆ settings()

ILIAS\Wiki\InternalRepoService::settings ( )

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

65  : SettingsDBRepository
66  {
67  return self::$instance["settings"] ??= new SettingsDBRepository(
68  $this->db,
69  $this->data
70  );
71  }

Field Documentation

◆ $instance

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

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


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