ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilObjectCommonSettings Class Reference

Common settings for objects. More...

+ Inheritance diagram for ilObjectCommonSettings:
+ Collaboration diagram for ilObjectCommonSettings:

Public Member Functions

 __construct (ilObjectService $service)
 Constructor. More...
 
 tileImage ()
 Tile image subservice.Tile images are used in deck of cards view of repository containers.
Returns
ilObjectTileImageFactory
More...
 
 legacyForm (ilPropertyFormGUI $form, ilObject $object)
 Get form adapter (currently only for legacy form using ilPropertyFormGUI) for adding and saving common settings to and from forms.
Todo:
In the future a method form() should also act on new ui form containers.
Parameters
ilPropertyFormGUI$form
ilObject$object
Returns
ilObjectCommonSettingFormAdapter
More...
 

Protected Attributes

 $service
 

Detailed Description

Common settings for objects.

Author
.de

Definition at line 11 of file class.ilObjectCommonSettings.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjectCommonSettings::__construct ( ilObjectService  $service)

Constructor.

Definition at line 21 of file class.ilObjectCommonSettings.php.

References $service.

22  {
23  $this->service = $service;
24  }

Member Function Documentation

◆ legacyForm()

ilObjectCommonSettings::legacyForm ( ilPropertyFormGUI  $form,
ilObject  $object 
)

Get form adapter (currently only for legacy form using ilPropertyFormGUI) for adding and saving common settings to and from forms.

Todo:
In the future a method form() should also act on new ui form containers.
Parameters
ilPropertyFormGUI$form
ilObject$object
Returns
ilObjectCommonSettingFormAdapter

Implements ilObjectCommonSettingsInterface.

Definition at line 37 of file class.ilObjectCommonSettings.php.

38  {
39  return new ilObjectCommonSettingFormAdapter($this->service, $object, $form);
40  }

◆ tileImage()

ilObjectCommonSettings::tileImage ( )

Tile image subservice.Tile images are used in deck of cards view of repository containers.

Returns
ilObjectTileImageFactory

Implements ilObjectCommonSettingsInterface.

Definition at line 29 of file class.ilObjectCommonSettings.php.

30  {
31  return new ilObjectTileImageFactory($this->service);
32  }

Field Documentation

◆ $service

ilObjectCommonSettings::$service
protected

Definition at line 16 of file class.ilObjectCommonSettings.php.

Referenced by __construct().


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