ILIAS  release_7 Revision v7.30-3-g800a261c036
ilObjectService Class Reference

Object service. More...

+ Inheritance diagram for ilObjectService:
+ Collaboration diagram for ilObjectService:

Public Member Functions

 __construct (ilLanguage $lng, ilSetting $settings, \ILIAS\Filesystem\Filesystems $filesystem, \ILIAS\FileUpload\FileUpload $upload)
 Constructor. More...
 
 language ()
 Get language object. More...
 
 settings ()
 Get settings object. More...
 
 filesystem ()
 Get filesystems. More...
 
 upload ()
 Get filesystems. More...
 
 commonSettings ()
 Get common settings subservice.
Returns
ilObjectCommonSettings
More...
 
 commonSettings ()
 Get common settings subservice. More...
 

Protected Attributes

 $lng
 
 $settings
 
 $filesystem
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjectService::__construct ( ilLanguage  $lng,
ilSetting  $settings,
\ILIAS\Filesystem\Filesystems  $filesystem,
\ILIAS\FileUpload\FileUpload  $upload 
)

Constructor.

Parameters
ilLanguage$lng

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

35 {
36 $this->lng = $lng;
37 $this->settings = $settings;
38 $this->filesystem = $filesystem;
39 $this->upload = $upload;
40 }
filesystem()
Get filesystems.
settings()
Get settings object.
upload()
Get filesystems.

References $filesystem, $lng, $settings, filesystem(), settings(), and upload().

+ Here is the call graph for this function:

Member Function Documentation

◆ commonSettings()

ilObjectService::commonSettings ( )

Get common settings subservice.

Returns
ilObjectCommonSettings

Implements ilObjectServiceInterface.

Definition at line 83 of file class.ilObjectService.php.

84 {
85 return new ilObjectCommonSettings($this);
86 }
Common settings for objects.

◆ filesystem()

ilObjectService::filesystem ( )

Get filesystems.

Returns
\ILIAS\Filesystem\Filesystems

Definition at line 66 of file class.ilObjectService.php.

67 {
68 return $this->filesystem;
69 }

References $filesystem.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ language()

ilObjectService::language ( )

Get language object.

Returns
ilLanguage

Definition at line 47 of file class.ilObjectService.php.

48 {
49 return $this->lng;
50 }

References $lng.

◆ settings()

ilObjectService::settings ( )

Get settings object.

Returns
ilSetting

Definition at line 57 of file class.ilObjectService.php.

58 {
59 return $this->settings;
60 }

References $settings.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ upload()

ilObjectService::upload ( )

Get filesystems.

Returns
\ILIAS\FileUpload\FileUpload

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

76 {
77 return $this->upload;
78 }

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $filesystem

ilObjectService::$filesystem
protected

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

Referenced by __construct(), and filesystem().

◆ $lng

ilObjectService::$lng
protected

Definition at line 18 of file class.ilObjectService.php.

Referenced by __construct(), and language().

◆ $settings

ilObjectService::$settings
protected

Definition at line 23 of file class.ilObjectService.php.

Referenced by __construct(), and settings().


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