ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\Blog\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\Blog\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
 
 exercise (int $a_node_id)
 
 blogAccess ( $access_handler, ?int $node_id, int $id_type, int $user_id, int $owner)
 
 readingTime ()
 

Protected Attributes

InternalRepoService $repo_service
 
InternalDataService $data_service
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Blog\InternalDomainService::__construct ( Container  $DIC,
InternalRepoService  $repo_service,
InternalDataService  $data_service 
)

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

References ILIAS\Blog\InternalDomainService\$data_service, ILIAS\Blog\InternalDomainService\$repo_service, and ILIAS\Repository\initDomainServices().

43  {
44  $this->repo_service = $repo_service;
45  $this->data_service = $data_service;
46  $this->initDomainServices($DIC);
47  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: feed.php:28
+ 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 58 of file class.InternalDomainService.php.

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

◆ exercise()

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

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

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

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

◆ readingTime()

ILIAS\Blog\InternalDomainService::readingTime ( )

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

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

Field Documentation

◆ $data_service

InternalDataService ILIAS\Blog\InternalDomainService::$data_service
protected

◆ $repo_service

InternalRepoService ILIAS\Blog\InternalDomainService::$repo_service
protected

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