ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Blog\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\Blog\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, protected InternalRepoService $repo, protected InternalDataService $data)
 
 exercise (int $a_node_id)
 
 blogAccess ( $access_handler, ?int $node_id, int $id_type, int $user_id, int $owner)
 
 readingTime ()
 
 notes ()
 
 blogSettings ()
 

Protected Attributes

Container $dic
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Blog\InternalDomainService::__construct ( Container  $DIC,
protected InternalRepoService  $repo,
protected InternalDataService  $data 
)

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

References $DIC, and ILIAS\Repository\initDomainServices().

45  {
46  $this->initDomainServices($DIC);
47  $this->dic = $DIC;
48  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

Member Function Documentation

◆ blogAccess()

ILIAS\Blog\InternalDomainService::blogAccess (   $access_handler,
?int  $node_id,
int  $id_type,
int  $user_id,
int  $owner 
)

Definition at line 59 of file class.InternalDomainService.php.

65  : BlogAccess {
66  return new BlogAccess(
67  $access_handler,
68  $node_id,
69  $id_type,
70  $user_id,
71  $owner
72  );
73  }

◆ blogSettings()

ILIAS\Blog\InternalDomainService::blogSettings ( )

Definition at line 85 of file class.InternalDomainService.php.

85  : SettingsManager
86  {
87  return self::$instance["settings"] ??
88  self::$instance["settings"] = new SettingsManager(
89  $this->data,
90  $this->repo,
91  $this
92  );
93  }

◆ exercise()

ILIAS\Blog\InternalDomainService::exercise ( int  $a_node_id)

Definition at line 50 of file class.InternalDomainService.php.

References ILIAS\Repository\repositoryTree(), and ILIAS\Repository\user().

50  : BlogExercise
51  {
52  return new BlogExercise(
53  $a_node_id,
54  $this->repositoryTree(),
55  $this->user()
56  );
57  }
+ Here is the call graph for this function:

◆ notes()

ILIAS\Blog\InternalDomainService::notes ( )

Definition at line 80 of file class.InternalDomainService.php.

80  : Notes\DomainService
81  {
82  return $this->dic->notes()->domain();
83  }

◆ readingTime()

ILIAS\Blog\InternalDomainService::readingTime ( )

Definition at line 75 of file class.InternalDomainService.php.

75  : ReadingTimeManager
76  {
77  return new ReadingTimeManager();
78  }

Field Documentation

◆ $dic

Container ILIAS\Blog\InternalDomainService::$dic
protected

Definition at line 39 of file class.InternalDomainService.php.

◆ $instance

array ILIAS\Blog\InternalDomainService::$instance = []
staticprotected

Definition at line 38 of file class.InternalDomainService.php.


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