ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\MediaCast\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\MediaCast\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, protected InternalRepoService $repo_service, protected InternalDataService $data_service)
 
 notes ()
 
 mediaCast (\ilObjMediaCast $media_cast)
 
 learningProgress (\ilObjMediaCast $cast)
 
 mediacastSettings ()
 

Protected Attributes

Container $dic
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

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

39  {
40  $this->dic = $DIC;
41  $this->initDomainServices($DIC);
42  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26
+ Here is the call graph for this function:

Member Function Documentation

◆ learningProgress()

ILIAS\MediaCast\InternalDomainService::learningProgress ( \ilObjMediaCast  $cast)

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

References ilObject\getId().

54  : LearningProgressManager
55  {
56  return self::$instance["lp"][$cast->getId()] ??= new LearningProgressManager($cast);
57  }
+ Here is the call graph for this function:

◆ mediaCast()

ILIAS\MediaCast\InternalDomainService::mediaCast ( \ilObjMediaCast  $media_cast)

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

References ilObject\getId().

49  : MediaCastManager
50  {
51  return self::$instance["cast"][$media_cast->getId()] ??= new MediaCastManager($media_cast);
52  }
+ Here is the call graph for this function:

◆ mediacastSettings()

ILIAS\MediaCast\InternalDomainService::mediacastSettings ( )

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

59  : SettingsManager
60  {
61  return self::$instance["settings"] ??= new SettingsManager(
62  $this->data_service,
63  $this->repo_service,
64  $this
65  );
66  }

◆ notes()

ILIAS\MediaCast\InternalDomainService::notes ( )

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

45  {
46  return $this->dic->notes()->domain();
47  }

Field Documentation

◆ $dic

Container ILIAS\MediaCast\InternalDomainService::$dic
protected

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

◆ $instance

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

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


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