ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
class.InternalDomainService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Container;
22
23use ILIAS\DI;
28use ILIAS\Container\Sorting\Service\DomainService as SortingDomainService;
29
34{
36
37 protected \ILIAS\Style\Content\DomainService $content_style_domain;
40
41 public function __construct(
45 ) {
46 $this->repo_service = $repo_service;
47 $this->data_service = $data_service;
48 $this->content_style_domain = $DIC->contentStyle()->domain();
49 $this->initDomainServices($DIC);
50 }
51
52 public function content(): Content\DomainService
53 {
54 return new Content\DomainService(
55 $this->repo_service,
56 $this->data_service,
57 $this
58 );
59 }
60
61 public function page(
63 ?string $lang = null
64 ): Page\PageManager {
66 $this->DIC->database(),
67 $this,
68 $this->content_style_domain,
70 $lang
71 );
72 }
73
74 public function classification(int $base_ref_id): ClassificationManager
75 {
76 return new ClassificationManager(
77 $this->repo_service->classification($base_ref_id),
78 $base_ref_id
79 );
80 }
81
82 public function metadata(): MetadataManager
83 {
84 return new MetadataManager($this->learningObjectMetadata());
85 }
86
87 public function containerFilterRetrieval(
88 \ilContainerFilterService $container_filter_service,
89 int $ref_id
90 ): Filter\ContainerFilterRetrieval {
91 return new Filter\ContainerFilterRetrieval(
92 $container_filter_service,
93 $ref_id
94 );
95 }
96
97 public function sorting(): SortingDomainService
98 {
99 return new SortingDomainService($this->repo_service, $this->data_service, $this);
100 }
101}
Repository internal data service.
__construct(DI\Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
page(\ilContainer $container, ?string $lang=null)
ILIAS Style Content DomainService $content_style_domain
containerFilterRetrieval(\ilContainerFilterService $container_filter_service, int $ref_id)
Repository internal repo service.
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:38
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilContainer.
return['3gp', '7z', 'ai', 'aif', 'aifc', 'aiff', 'au', 'arw', 'avi', 'backup', 'bak', 'bas', 'bpmn', 'bpmn2', 'bmp', 'bib', 'bibtex', 'bz', 'bz2', 'c', 'c++', 'cc', 'cct', 'cdf', 'cer', 'class', 'cls', 'conf', 'cpp', 'crt', 'crs', 'crw', 'cr2', 'css', 'cst', 'csv', 'cur', 'db', 'dcr', 'des', 'dng', 'doc', 'docx', 'dot', 'dotx', 'dtd', 'dvi', 'el', 'eps', 'epub', 'f', 'f77', 'f90', 'flv', 'for', 'g3', 'gif', 'gl', 'gan', 'ggb', 'gsd', 'gsm', 'gtar', 'gz', 'gzip', 'h', 'hpp', 'htm', 'html', 'htmls', 'ibooks', 'ico', 'ics', 'ini', 'ipynb', 'java', 'jbf', 'jpeg', 'jpg', 'js', 'jsf', 'jso', 'json', 'latex', 'lang', 'less', 'log', 'lsp', 'ltx', 'm1v', 'm2a', 'm2v', 'm3u', 'm4a', 'm4v', 'markdown', 'm', 'mat', 'md', 'mdl', 'mdown', 'mid', 'min', 'midi', 'mobi', 'mod', 'mov', 'movie', 'mp2', 'mp3', 'mp4', 'mpa', 'mpeg', 'mpg', 'mph', 'mpga', 'mpp', 'mpt', 'mpv', 'mpx', 'mv', 'mw', 'mv4', 'nb', 'nbp', 'nef', 'nif', 'niff', 'obj', 'obm', 'odt', 'ods', 'odp', 'odg', 'odf', 'oga', 'ogg', 'ogv', 'old', 'p', 'pas', 'pbm', 'pcl', 'pct', 'pcx', 'pdf', 'pgm', 'pic', 'pict', 'png', 'por', 'pov', 'project', 'properties', 'ppa', 'ppm', 'pps', 'ppsx', 'ppt', 'pptx', 'ppz', 'ps', 'psd', 'pwz', 'qt', 'qtc', 'qti', 'qtif', 'r', 'ra', 'ram', 'rar', 'rast', 'rda', 'rev', 'rexx', 'ris', 'rf', 'rgb', 'rm', 'rmd', 'rmi', 'rmm', 'rmp', 'rt', 'rtf', 'rtx', 'rv', 's', 's3m', 'sav', 'sbs', 'sec', 'sdml', 'sgm', 'sgml', 'smi', 'smil', 'srt', 'sps', 'spv', 'stl', 'svg', 'swa', 'swf', 'swz', 'tar', 'tex', 'texi', 'texinfo', 'text', 'tgz', 'tif', 'tiff', 'ttf', 'txt', 'tmp', 'uvproj', 'vdf', 'vimeo', 'viv', 'vivo', 'vrml', 'vsdx', 'vtt', 'wav', 'webm', 'wmv', 'wmx', 'wmz', 'woff', 'wwd', 'xhtml', 'xif', 'xls', 'xlsx', 'xmind', 'xml', 'xsl', 'xsd', 'zip']
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class HTTPServicesTest.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Container.php:19
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26
$container
@noRector
Definition: wac.php:39