ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilObjectService.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12{
18 protected $lng;
19
23 protected $settings;
24
28 protected $filesystem;
29
34 public function __construct(ilLanguage $lng, ilSetting $settings, \ILIAS\Filesystem\Filesystems $filesystem, \ILIAS\FileUpload\FileUpload $upload)
35 {
36 $this->lng = $lng;
37 $this->settings = $settings;
38 $this->filesystem = $filesystem;
39 $this->upload = $upload;
40 }
41
47 public function language()
48 {
49 return $this->lng;
50 }
51
57 public function settings()
58 {
59 return $this->settings;
60 }
61
66 public function filesystem()
67 {
68 return $this->filesystem;
69 }
70
75 public function upload()
76 {
77 return $this->upload;
78 }
79
84 {
85 return new ilObjectCommonSettings($this);
86 }
87}
An exception for terminatinating execution or to throw for unit testing.
language handling
Common settings for objects.
filesystem()
Get filesystems.
language()
Get language object.
commonSettings()
Get common settings subservice.ilObjectCommonSettings
settings()
Get settings object.
__construct(ilLanguage $lng, ilSetting $settings, \ILIAS\Filesystem\Filesystems $filesystem, \ILIAS\FileUpload\FileUpload $upload)
Constructor.
upload()
Get filesystems.
ILIAS Setting Class.
Class FlySystemFileAccessTest.
Class ChatMainBarProvider \MainMenu\Provider.