ILIAS  release_8 Revision v8.24
ILIAS\BookingManager\saveObjectSettingsCommandHandler Class Reference
+ Collaboration diagram for ILIAS\BookingManager\saveObjectSettingsCommandHandler:

Public Member Functions

 __construct (saveObjectSettingsCommand $cmd, \ilObjUseBookDBRepository $use_book_repo)
 
 handle ()
 

Protected Attributes

saveObjectSettingsCommand $cmd
 
ilObjUseBookDBRepository $use_book_repo
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ILIAS\BookingManager\saveObjectSettingsCommandHandler::__construct ( saveObjectSettingsCommand  $cmd,
\ilObjUseBookDBRepository  $use_book_repo 
)

Member Function Documentation

◆ handle()

ILIAS\BookingManager\saveObjectSettingsCommandHandler::handle ( )

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

37 : void
38 {
39 $settings = $this->cmd->getSettings();
41
42 $repo->updateUsedBookingPools($settings->getObjectId(), $settings->getUsedBookingObjectIds());
43 }
updateUsedBookingPools(int $obj_id, array $book_obj_ids)
array $settings
Setting values (LTI parameters, custom parameters and local parameters).
Definition: System.php:200

References ILIAS\LTI\ToolProvider\$settings, ILIAS\BookingManager\saveObjectSettingsCommandHandler\$use_book_repo, and ilObjUseBookDBRepository\updateUsedBookingPools().

+ Here is the call graph for this function:

Field Documentation

◆ $cmd

saveObjectSettingsCommand ILIAS\BookingManager\saveObjectSettingsCommandHandler::$cmd
protected

◆ $use_book_repo

ilObjUseBookDBRepository ILIAS\BookingManager\saveObjectSettingsCommandHandler::$use_book_repo
protected

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