ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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...
 

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  }
upload()
Get filesystems.
filesystem()
Get filesystems.
settings()
Get settings object.

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

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

Referenced by ilObjectTileImage\__construct().

67  {
68  return $this->filesystem;
69  }
+ 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  }

◆ settings()

ilObjectService::settings ( )

Get settings object.

Returns
ilSetting

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

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

◆ upload()

ilObjectService::upload ( )

Get filesystems.

Returns

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

Referenced by ilObjectTileImage\__construct().

76  {
77  return $this->upload;
78  }
+ Here is the caller graph for this function:

Field Documentation

◆ $filesystem

ilObjectService::$filesystem
protected

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

◆ $lng

ilObjectService::$lng
protected

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

◆ $settings

ilObjectService::$settings
protected

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


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